Properties
Optional
chat
chat?: string
Optional
download
download?: CreateFunction<[type: "buffer" | "stream", options: MediaDownloadOptions, ctx?: DownloadMediaMessageContext], Promise<Buffer | Transform>>
Optional
fromMe
fromMe?: boolean
Optional
getQuotedMessage
getQuotedMessage?: (() => Promise<IWebMessageInfo>)
Type declaration
-
- (): Promise<IWebMessageInfo>
-
Returns Promise<IWebMessageInfo>
Optional
getQuotedObj
getQuotedObj?: (() => Promise<IWebMessageInfo>)
Type declaration
-
- (): Promise<IWebMessageInfo>
-
Returns Promise<IWebMessageInfo>
Optional
isCommand
isCommand?: Boolean | Error
Optional
isGroup
isGroup?: Boolean
Optional
mentionedJid
mentionedJid?: string[]
Optional
msg
msg?: string | ISenderKeyDistributionMessage | IImageMessage | IContactMessage | ILocationMessage | IExtendedTextMessage | IDocumentMessage | IAudioMessage | IVideoMessage | ICall | IChat | IProtocolMessage | IContactsArrayMessage | IHighlyStructuredMessage | ISendPaymentMessage | ILiveLocationMessage | IRequestPaymentMessage | IDeclinePaymentRequestMessage | ICancelPaymentRequestMessage | ITemplateMessage | IStickerMessage | IGroupInviteMessage | ITemplateButtonReplyMessage | IProductMessage | IDeviceSentMessage | IMessageContextInfo | IListMessage | IFutureProofMessage | IOrderMessage | IListResponseMessage | IInvoiceMessage | IButtonsMessage | IButtonsResponseMessage | IPaymentInviteMessage | IInteractiveMessage | IReactionMessage | IStickerSyncRMRMessage | IInteractiveResponseMessage | IPollCreationMessage | IPollUpdateMessage | IKeepInChatMessage | IRequestPhoneNumberMessage | IEncReactionMessage
Optional
quoted
quoted?: ParsedQuotedMessage
Optional
reply
reply?: ((content, jid?, options?) => Promise<WebMessageInfo>)
Type declaration
-
- (content, jid?, options?): Promise<WebMessageInfo>
-
Parameters
-
content: string | AnyMessageContent
-
Optional
jid: string
-
Optional
options: MiscMessageGenerationOptions
Returns Promise<WebMessageInfo>
Optional
sender
sender?: string
Optional
sentSource
sentSource?: "android" | "web" | "ios" | "baileys" | "old_baileys"
Optional
text
text?: string
timestamp
timestamp: Date
Optional
type
type?: keyof IMessage