/** * Data for a quoted reply entity. */ type QuotedReplyData = { /** * ID of the message being quoted */ messageId: string; /** * ID of the sender of the quoted message */ senderId?: string | null; /** * display name of the sender of the quoted message */ senderName?: string | null; /** * preview text of the quoted message */ preview?: string | null; /** * timestamp of the quoted message (IC3 epoch value, e.g. "1772050244572"). * Populated on inbound; ignored on outbound. */ time?: string | null; /** * whether the quoted message has been deleted */ isReplyDeleted?: boolean; /** * whether the message reference has been validated */ validatedMessageReference?: boolean; }; /** * Entity containing quoted reply information. */ type QuotedReplyEntity = { readonly type: 'quotedReply'; /** * the quoted reply data */ quotedReply: QuotedReplyData; /** * other properties */ [key: string]: any; }; export type { QuotedReplyData, QuotedReplyEntity };