Message
Class: Message
Defined in: WAProto/index.d.ts:5890
Implements
Constructors
new Message()
new Message(
p?):Message
Defined in: WAProto/index.d.ts:5891
Parameters
p?
Returns
Properties
albumMessage?
optionalalbumMessage:null|IAlbumMessage
Defined in: WAProto/index.d.ts:5960
Implementation of
associatedChildMessage?
optionalassociatedChildMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5966
Implementation of
IMessage.associatedChildMessage
audioMessage?
optionalaudioMessage:null|IAudioMessage
Defined in: WAProto/index.d.ts:5899
Implementation of
bcallMessage?
optionalbcallMessage:null|IBCallMessage
Defined in: WAProto/index.d.ts:5952
Implementation of
botForwardedMessage?
optionalbotForwardedMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5978
Implementation of
botInvokeMessage?
optionalbotInvokeMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5948
Implementation of
botTaskMessage?
optionalbotTaskMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5974
Implementation of
buttonsMessage?
optionalbuttonsMessage:null|IButtonsMessage
Defined in: WAProto/index.d.ts:5925
Implementation of
buttonsResponseMessage?
optionalbuttonsResponseMessage:null|IButtonsResponseMessage
Defined in: WAProto/index.d.ts:5926
Implementation of
IMessage.buttonsResponseMessage
call?
optionalcall:null|ICall
Defined in: WAProto/index.d.ts:5901
Implementation of
callLogMesssage?
optionalcallLogMesssage:null|ICallLogMessage
Defined in: WAProto/index.d.ts:5949
Implementation of
cancelPaymentRequestMessage?
optionalcancelPaymentRequestMessage:null|ICancelPaymentRequestMessage
Defined in: WAProto/index.d.ts:5911
Implementation of
IMessage.cancelPaymentRequestMessage
chat?
optionalchat:null|IChat
Defined in: WAProto/index.d.ts:5902
Implementation of
commentMessage?
optionalcommentMessage:null|ICommentMessage
Defined in: WAProto/index.d.ts:5956
Implementation of
conditionalRevealMessage?
optionalconditionalRevealMessage:null|IConditionalRevealMessage
Defined in: WAProto/index.d.ts:5991
Implementation of
IMessage.conditionalRevealMessage
contactMessage?
optionalcontactMessage:null|IContactMessage
Defined in: WAProto/index.d.ts:5895
Implementation of
contactsArrayMessage?
optionalcontactsArrayMessage:null|IContactsArrayMessage
Defined in: WAProto/index.d.ts:5904
Implementation of
conversation?
optionalconversation:null|string
Defined in: WAProto/index.d.ts:5892
Implementation of
declinePaymentRequestMessage?
optionaldeclinePaymentRequestMessage:null|IDeclinePaymentRequestMessage
Defined in: WAProto/index.d.ts:5910
Implementation of
IMessage.declinePaymentRequestMessage
deviceSentMessage?
optionaldeviceSentMessage:null|IDeviceSentMessage
Defined in: WAProto/index.d.ts:5917
Implementation of
documentMessage?
optionaldocumentMessage:null|IDocumentMessage
Defined in: WAProto/index.d.ts:5898
Implementation of
documentWithCaptionMessage?
optionaldocumentWithCaptionMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5935
Implementation of
IMessage.documentWithCaptionMessage
editedMessage?
optionaleditedMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5939
Implementation of
encCommentMessage?
optionalencCommentMessage:null|IEncCommentMessage
Defined in: WAProto/index.d.ts:5951
Implementation of
encEventResponseMessage?
optionalencEventResponseMessage:null|IEncEventResponseMessage
Defined in: WAProto/index.d.ts:5955
Implementation of
IMessage.encEventResponseMessage
encReactionMessage?
optionalencReactionMessage:null|IEncReactionMessage
Defined in: WAProto/index.d.ts:5938
Implementation of
ephemeralMessage?
optionalephemeralMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5923
Implementation of
eventCoverImage?
optionaleventCoverImage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5961
Implementation of
eventInviteMessage?
optionaleventInviteMessage:null|IEventInviteMessage
Defined in: WAProto/index.d.ts:5993
Implementation of
eventMessage?
optionaleventMessage:null|IEventMessage
Defined in: WAProto/index.d.ts:5954
Implementation of
extendedTextMessage?
optionalextendedTextMessage:null|IExtendedTextMessage
Defined in: WAProto/index.d.ts:5897
Implementation of
fastRatchetKeySenderKeyDistributionMessage?
optionalfastRatchetKeySenderKeyDistributionMessage:null|ISenderKeyDistributionMessage
Defined in: WAProto/index.d.ts:5906
Implementation of
IMessage.fastRatchetKeySenderKeyDistributionMessage
groupInviteMessage?
optionalgroupInviteMessage:null|IGroupInviteMessage
Defined in: WAProto/index.d.ts:5914
Implementation of
groupMentionedMessage?
optionalgroupMentionedMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5943
Implementation of
IMessage.groupMentionedMessage
groupRootKeyShare?
optionalgroupRootKeyShare:null|IGroupRootKeyShare
Defined in: WAProto/index.d.ts:5994
Implementation of
groupStatusMentionMessage?
optionalgroupStatusMentionMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5967
Implementation of
IMessage.groupStatusMentionMessage
groupStatusMessage?
optionalgroupStatusMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5970
Implementation of
groupStatusMessageV2?
optionalgroupStatusMessageV2:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5977
Implementation of
highlyStructuredMessage?
optionalhighlyStructuredMessage:null|IHighlyStructuredMessage
Defined in: WAProto/index.d.ts:5905
Implementation of
IMessage.highlyStructuredMessage
imageMessage?
optionalimageMessage:null|IImageMessage
Defined in: WAProto/index.d.ts:5894
Implementation of
interactiveMessage?
optionalinteractiveMessage:null|IInteractiveMessage
Defined in: WAProto/index.d.ts:5928
Implementation of
interactiveResponseMessage?
optionalinteractiveResponseMessage:null|IInteractiveResponseMessage
Defined in: WAProto/index.d.ts:5931
Implementation of
IMessage.interactiveResponseMessage
invoiceMessage?
optionalinvoiceMessage:null|IInvoiceMessage
Defined in: WAProto/index.d.ts:5924
Implementation of
keepInChatMessage?
optionalkeepInChatMessage:null|IKeepInChatMessage
Defined in: WAProto/index.d.ts:5934
Implementation of
limitSharingMessage?
optionallimitSharingMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5973
Implementation of
listMessage?
optionallistMessage:null|IListMessage
Defined in: WAProto/index.d.ts:5919
Implementation of
listResponseMessage?
optionallistResponseMessage:null|IListResponseMessage
Defined in: WAProto/index.d.ts:5922
Implementation of
liveLocationMessage?
optionalliveLocationMessage:null|ILiveLocationMessage
Defined in: WAProto/index.d.ts:5908
Implementation of
locationMessage?
optionallocationMessage:null|ILocationMessage
Defined in: WAProto/index.d.ts:5896
Implementation of
lottieStickerMessage?
optionallottieStickerMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5953
Implementation of
messageContextInfo?
optionalmessageContextInfo:null|IMessageContextInfo
Defined in: WAProto/index.d.ts:5918
Implementation of
messageHistoryBundle?
optionalmessageHistoryBundle:null|IMessageHistoryBundle
Defined in: WAProto/index.d.ts:5950
Implementation of
messageHistoryNotice?
optionalmessageHistoryNotice:null|IMessageHistoryNotice
Defined in: WAProto/index.d.ts:5976
Implementation of
newsletterAdminInviteMessage?
optionalnewsletterAdminInviteMessage:null|INewsletterAdminInviteMessage
Defined in: WAProto/index.d.ts:5957
Implementation of
IMessage.newsletterAdminInviteMessage
newsletterAdminProfileMessage?
optionalnewsletterAdminProfileMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5987
Implementation of
IMessage.newsletterAdminProfileMessage
newsletterAdminProfileMessageV2?
optionalnewsletterAdminProfileMessageV2:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5988
Implementation of
IMessage.newsletterAdminProfileMessageV2
newsletterAdminProfileStatusMessage?
optionalnewsletterAdminProfileStatusMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5997
Implementation of
IMessage.newsletterAdminProfileStatusMessage
newsletterFollowerInviteMessageV2?
optionalnewsletterFollowerInviteMessageV2:null|INewsletterFollowerInviteMessage
Defined in: WAProto/index.d.ts:5985
Implementation of
IMessage.newsletterFollowerInviteMessageV2
orderMessage?
optionalorderMessage:null|IOrderMessage
Defined in: WAProto/index.d.ts:5921
Implementation of
paymentInviteMessage?
optionalpaymentInviteMessage:null|IPaymentInviteMessage
Defined in: WAProto/index.d.ts:5927
Implementation of
paymentReminderMessage?
optionalpaymentReminderMessage:null|IPaymentReminderMessage
Defined in: WAProto/index.d.ts:5995
Implementation of
IMessage.paymentReminderMessage
pinInChatMessage?
optionalpinInChatMessage:null|IPinInChatMessage
Defined in: WAProto/index.d.ts:5944
Implementation of
placeholderMessage?
optionalplaceholderMessage:null|IPlaceholderMessage
Defined in: WAProto/index.d.ts:5958
Implementation of
pollAddOptionMessage?
optionalpollAddOptionMessage:null|IPollAddOptionMessage
Defined in: WAProto/index.d.ts:5992
Implementation of
pollCreationMessage?
optionalpollCreationMessage:null|IPollCreationMessage
Defined in: WAProto/index.d.ts:5932
Implementation of
pollCreationMessageV2?
optionalpollCreationMessageV2:null|IPollCreationMessage
Defined in: WAProto/index.d.ts:5941
Implementation of
IMessage.pollCreationMessageV2
pollCreationMessageV3?
optionalpollCreationMessageV3:null|IPollCreationMessage
Defined in: WAProto/index.d.ts:5945
Implementation of
IMessage.pollCreationMessageV3
pollCreationMessageV4?
optionalpollCreationMessageV4:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5968
Implementation of
IMessage.pollCreationMessageV4
pollCreationMessageV5?
optionalpollCreationMessageV5:null|IPollCreationMessage
Defined in: WAProto/index.d.ts:5984
Implementation of
IMessage.pollCreationMessageV5
pollCreationMessageV6?
optionalpollCreationMessageV6:null|IPollCreationMessage
Defined in: WAProto/index.d.ts:5990
Implementation of
IMessage.pollCreationMessageV6
pollCreationOptionImageMessage?
optionalpollCreationOptionImageMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5965
Implementation of
IMessage.pollCreationOptionImageMessage
pollResultSnapshotMessage?
optionalpollResultSnapshotMessage:null|IPollResultSnapshotMessage
Defined in: WAProto/index.d.ts:5964
Implementation of
IMessage.pollResultSnapshotMessage
pollResultSnapshotMessageV3?
optionalpollResultSnapshotMessageV3:null|IPollResultSnapshotMessage
Defined in: WAProto/index.d.ts:5986
Implementation of
IMessage.pollResultSnapshotMessageV3
pollUpdateMessage?
optionalpollUpdateMessage:null|IPollUpdateMessage
Defined in: WAProto/index.d.ts:5933
Implementation of
productMessage?
optionalproductMessage:null|IProductMessage
Defined in: WAProto/index.d.ts:5916
Implementation of
protocolMessage?
optionalprotocolMessage:null|IProtocolMessage
Defined in: WAProto/index.d.ts:5903
Implementation of
ptvMessage?
optionalptvMessage:null|IVideoMessage
Defined in: WAProto/index.d.ts:5947
Implementation of
questionMessage?
optionalquestionMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5975
Implementation of
questionReplyMessage?
optionalquestionReplyMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5980
Implementation of
questionResponseMessage?
optionalquestionResponseMessage:null|IQuestionResponseMessage
Defined in: WAProto/index.d.ts:5981
Implementation of
IMessage.questionResponseMessage
reactionMessage?
optionalreactionMessage:null|IReactionMessage
Defined in: WAProto/index.d.ts:5929
Implementation of
requestPaymentMessage?
optionalrequestPaymentMessage:null|IRequestPaymentMessage
Defined in: WAProto/index.d.ts:5909
Implementation of
IMessage.requestPaymentMessage
requestPhoneNumberMessage?
optionalrequestPhoneNumberMessage:null|IRequestPhoneNumberMessage
Defined in: WAProto/index.d.ts:5936
Implementation of
IMessage.requestPhoneNumberMessage
richResponseMessage?
optionalrichResponseMessage:null|IAIRichResponseMessage
Defined in: WAProto/index.d.ts:5971
Implementation of
scheduledCallCreationMessage?
optionalscheduledCallCreationMessage:null|IScheduledCallCreationMessage
Defined in: WAProto/index.d.ts:5942
Implementation of
IMessage.scheduledCallCreationMessage
scheduledCallEditMessage?
optionalscheduledCallEditMessage:null|IScheduledCallEditMessage
Defined in: WAProto/index.d.ts:5946
Implementation of
IMessage.scheduledCallEditMessage
secretEncryptedMessage?
optionalsecretEncryptedMessage:null|ISecretEncryptedMessage
Defined in: WAProto/index.d.ts:5959
Implementation of
IMessage.secretEncryptedMessage
senderKeyDistributionMessage?
optionalsenderKeyDistributionMessage:null|ISenderKeyDistributionMessage
Defined in: WAProto/index.d.ts:5893
Implementation of
IMessage.senderKeyDistributionMessage
sendPaymentMessage?
optionalsendPaymentMessage:null|ISendPaymentMessage
Defined in: WAProto/index.d.ts:5907
Implementation of
splitPaymentMessage?
optionalsplitPaymentMessage:null|ISplitPaymentMessage
Defined in: WAProto/index.d.ts:5996
Implementation of
spoilerMessage?
optionalspoilerMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5989
Implementation of
statusAddYours?
optionalstatusAddYours:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5969
Implementation of
statusMentionMessage?
optionalstatusMentionMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5963
Implementation of
statusNotificationMessage?
optionalstatusNotificationMessage:null|IStatusNotificationMessage
Defined in: WAProto/index.d.ts:5972
Implementation of
IMessage.statusNotificationMessage
statusQuestionAnswerMessage?
optionalstatusQuestionAnswerMessage:null|IStatusQuestionAnswerMessage
Defined in: WAProto/index.d.ts:5979
Implementation of
IMessage.statusQuestionAnswerMessage
statusQuotedMessage?
optionalstatusQuotedMessage:null|IStatusQuotedMessage
Defined in: WAProto/index.d.ts:5982
Implementation of
statusStickerInteractionMessage?
optionalstatusStickerInteractionMessage:null|IStatusStickerInteractionMessage
Defined in: WAProto/index.d.ts:5983
Implementation of
IMessage.statusStickerInteractionMessage
stickerMessage?
optionalstickerMessage:null|IStickerMessage
Defined in: WAProto/index.d.ts:5913
Implementation of
stickerPackMessage?
optionalstickerPackMessage:null|IStickerPackMessage
Defined in: WAProto/index.d.ts:5962
Implementation of
stickerSyncRmrMessage?
optionalstickerSyncRmrMessage:null|IStickerSyncRMRMessage
Defined in: WAProto/index.d.ts:5930
Implementation of
IMessage.stickerSyncRmrMessage
templateButtonReplyMessage?
optionaltemplateButtonReplyMessage:null|ITemplateButtonReplyMessage
Defined in: WAProto/index.d.ts:5915
Implementation of
IMessage.templateButtonReplyMessage
templateMessage?
optionaltemplateMessage:null|ITemplateMessage
Defined in: WAProto/index.d.ts:5912
Implementation of
videoMessage?
optionalvideoMessage:null|IVideoMessage
Defined in: WAProto/index.d.ts:5900
Implementation of
viewOnceMessage?
optionalviewOnceMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5920
Implementation of
viewOnceMessageV2?
optionalviewOnceMessageV2:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5937
Implementation of
viewOnceMessageV2Extension?
optionalviewOnceMessageV2Extension:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5940
Implementation of
IMessage.viewOnceMessageV2Extension
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:6003
Returns
object
create()
staticcreate(properties?):Message
Defined in: WAProto/index.d.ts:5998
Parameters
properties?
Returns
decode()
staticdecode(r,l?):Message
Defined in: WAProto/index.d.ts:6000
Parameters
r
Uint8Array<ArrayBufferLike> | Reader
l?
number
Returns
encode()
staticencode(m,w?):Writer
Defined in: WAProto/index.d.ts:5999
Parameters
m
w?
Writer
Returns
Writer
fromObject()
staticfromObject(d):Message
Defined in: WAProto/index.d.ts:6001
Parameters
d
Returns
getTypeUrl()
staticgetTypeUrl(typeUrlPrefix?):string
Defined in: WAProto/index.d.ts:6004
Parameters
typeUrlPrefix?
string
Returns
string
toObject()
statictoObject(m,o?):object
Defined in: WAProto/index.d.ts:6002
Parameters
m
o?
IConversionOptions
Returns
object