Type alias AnyRegularMessageContent

AnyRegularMessageContent: ({
    linkPreview?: WAUrlInfo | null;
    text: string;
} & Mentionable & Contextable & Editable | AnyMediaMessageContent | {
    poll: PollMessageOptions;
} & Mentionable & Contextable & Editable | {
    contacts: {
        contacts: IContactMessage[];
        displayName?: string;
    };
} | {
    location: WALocationMessage;
} | {
    react: IReactionMessage;
} | {
    buttonReply: ButtonReplyInfo;
    type: "template" | "plain";
} | {
    groupInvite: GroupInviteInfo;
} | {
    listReply: Omit<IListResponseMessage, "contextInfo">;
} | {
    pin: WAMessageKey;
    time?: 86400 | 604800 | 2592000;
    type: proto.PinInChat.Type;
} | {
    body?: string;
    businessOwnerJid?: string;
    footer?: string;
    product: WASendableProduct;
} | SharePhoneNumber | RequestPhoneNumber) & ViewOnce

Generated using TypeDoc