Optional
albumMessage albumMessage.
Optional
associatedMessage associatedChildMessage.
Optional
audioMessage audioMessage.
Optional
bcallMessage bcallMessage.
Optional
botMessage botInvokeMessage.
Optional
buttonsMessage buttonsMessage.
Optional
buttonsMessage buttonsResponseMessage.
Optional
call
Message call.
Optional
callMessage callLogMesssage.
Optional
cancelMessage cancelPaymentRequestMessage.
Optional
chat
Message chat.
Optional
commentMessage commentMessage.
Optional
contactMessage contactMessage.
Optional
contactsMessage contactsArrayMessage.
Optional
conversation
Message conversation.
Optional
declineMessage declinePaymentRequestMessage.
Optional
deviceMessage deviceSentMessage.
Optional
documentMessage documentMessage.
Optional
documentMessage documentWithCaptionMessage.
Optional
editedMessage editedMessage.
Optional
encMessage encCommentMessage.
Optional
encMessage encEventResponseMessage.
Optional
encMessage encReactionMessage.
Optional
ephemeralMessage ephemeralMessage.
Optional
eventMessage eventCoverImage.
Optional
eventMessage eventMessage.
Optional
extendedMessage extendedTextMessage.
Optional
fastMessage fastRatchetKeySenderKeyDistributionMessage.
Optional
groupMessage groupInviteMessage.
Optional
groupMessage groupMentionedMessage.
Optional
groupMessage groupStatusMentionMessage.
Optional
groupMessage groupStatusMessage.
Optional
highlyMessage highlyStructuredMessage.
Optional
imageMessage imageMessage.
Optional
interactiveMessage interactiveMessage.
Optional
interactiveMessage interactiveResponseMessage.
Optional
invoiceMessage invoiceMessage.
Optional
keepMessage keepInChatMessage.
Optional
listMessage listMessage.
Optional
listMessage listResponseMessage.
Optional
liveMessage liveLocationMessage.
Optional
locationMessage locationMessage.
Optional
lottieMessage lottieStickerMessage.
Optional
messageMessage messageContextInfo.
Optional
messageMessage messageHistoryBundle.
Optional
newsletterMessage newsletterAdminInviteMessage.
Optional
orderMessage orderMessage.
Optional
paymentMessage paymentInviteMessage.
Optional
pinMessage pinInChatMessage.
Optional
placeholderMessage placeholderMessage.
Optional
pollMessage pollCreationMessage.
Optional
pollMessage pollCreationMessageV2.
Optional
pollMessage pollCreationMessageV3.
Optional
pollMessage pollCreationMessageV4.
Optional
pollMessage pollCreationMessageV5.
Optional
pollMessage pollCreationOptionImageMessage.
Optional
pollMessage pollResultSnapshotMessage.
Optional
pollMessage pollUpdateMessage.
Optional
productMessage productMessage.
Optional
protocolMessage protocolMessage.
Optional
ptvMessage ptvMessage.
Optional
reactionMessage reactionMessage.
Optional
requestMessage requestPaymentMessage.
Optional
requestMessage requestPhoneNumberMessage.
Optional
richMessage richResponseMessage.
Optional
scheduledMessage scheduledCallCreationMessage.
Optional
scheduledMessage scheduledCallEditMessage.
Optional
secretMessage secretEncryptedMessage.
Optional
sendMessage sendPaymentMessage.
Optional
senderMessage senderKeyDistributionMessage.
Optional
statusMessage statusAddYours.
Optional
statusMessage statusMentionMessage.
Optional
statusMessage statusNotificationMessage.
Optional
stickerMessage stickerMessage.
Optional
stickerMessage stickerPackMessage.
Optional
stickerMessage stickerSyncRmrMessage.
Optional
templateMessage templateButtonReplyMessage.
Optional
templateMessage templateMessage.
Optional
videoMessage videoMessage.
Optional
viewMessage viewOnceMessage.
Optional
viewMessage viewOnceMessageV2.
Optional
viewMessage viewOnceMessageV2Extension.
Static
create
Static
decode
Decodes a Message message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
Message
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a Message message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
Message
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Static
encodeStatic
fromStatic
getStatic
toCreates a plain object from a Message message. Also converts values to other types if specified.
Message
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a Message.