Optional
audioMessage audioMessage.
Optional
botMessage botInvokeMessage.
Optional
buttonsMessage buttonsMessage.
Optional
buttonsMessage buttonsResponseMessage.
Optional
call
Message call.
Optional
cancelMessage cancelPaymentRequestMessage.
Optional
chat
Message chat.
Optional
contactMessage contactMessage.
Optional
contactsMessage contactsArrayMessage.
Message conversation.
Optional
declineMessage declinePaymentRequestMessage.
Optional
deviceMessage deviceSentMessage.
Optional
documentMessage documentMessage.
Optional
documentMessage documentWithCaptionMessage.
Optional
editedMessage editedMessage.
Optional
encMessage encReactionMessage.
Optional
ephemeralMessage ephemeralMessage.
Optional
extendedMessage extendedTextMessage.
Optional
fastMessage fastRatchetKeySenderKeyDistributionMessage.
Optional
groupMessage groupInviteMessage.
Optional
groupMessage groupMentionedMessage.
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
messageMessage messageContextInfo.
Optional
orderMessage orderMessage.
Optional
paymentMessage paymentInviteMessage.
Optional
pinMessage pinInChatMessage.
Optional
pollMessage pollCreationMessage.
Optional
pollMessage pollCreationMessageV2.
Optional
pollMessage pollCreationMessageV3.
Optional
pollMessage pollUpdateMessage.
Optional
productMessage productMessage.
Optional
protocolMessage protocolMessage.
Optional
ptvMessage ptvMessage.
Optional
reactionMessage reactionMessage.
Optional
requestMessage requestPaymentMessage.
Optional
requestMessage requestPhoneNumberMessage.
Optional
scheduledMessage scheduledCallCreationMessage.
Optional
scheduledMessage scheduledCallEditMessage.
Optional
sendMessage sendPaymentMessage.
Optional
senderMessage senderKeyDistributionMessage.
Optional
stickerMessage stickerMessage.
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
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.