Class: Message
Defined in: WAProto/index.d.ts:5283
Implements
Constructors
new Message()
new Message(
p?):Message
Defined in: WAProto/index.d.ts:5284
Parameters
p?
Returns
Properties
albumMessage?
optionalalbumMessage:null|IAlbumMessage
Defined in: WAProto/index.d.ts:5353
Implementation of
associatedChildMessage?
optionalassociatedChildMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5359
Implementation of
IMessage.associatedChildMessage
audioMessage?
optionalaudioMessage:null|IAudioMessage
Defined in: WAProto/index.d.ts:5292
Implementation of
bcallMessage?
optionalbcallMessage:null|IBCallMessage
Defined in: WAProto/index.d.ts:5345
Implementation of
botForwardedMessage?
optionalbotForwardedMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5371
Implementation of
botInvokeMessage?
optionalbotInvokeMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5341
Implementation of
botTaskMessage?
optionalbotTaskMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5367
Implementation of
buttonsMessage?
optionalbuttonsMessage:null|IButtonsMessage
Defined in: WAProto/index.d.ts:5318
Implementation of
buttonsResponseMessage?
optionalbuttonsResponseMessage:null|IButtonsResponseMessage
Defined in: WAProto/index.d.ts:5319
Implementation of
IMessage.buttonsResponseMessage
call?
optionalcall:null|ICall
Defined in: WAProto/index.d.ts:5294
Implementation of
callLogMesssage?
optionalcallLogMesssage:null|ICallLogMessage
Defined in: WAProto/index.d.ts:5342
Implementation of
cancelPaymentRequestMessage?
optionalcancelPaymentRequestMessage:null|ICancelPaymentRequestMessage
Defined in: WAProto/index.d.ts:5304
Implementation of
IMessage.cancelPaymentRequestMessage
chat?
optionalchat:null|IChat
Defined in: WAProto/index.d.ts:5295
Implementation of
commentMessage?
optionalcommentMessage:null|ICommentMessage
Defined in: WAProto/index.d.ts:5349
Implementation of
contactMessage?
optionalcontactMessage:null|IContactMessage
Defined in: WAProto/index.d.ts:5288
Implementation of
contactsArrayMessage?
optionalcontactsArrayMessage:null|IContactsArrayMessage
Defined in: WAProto/index.d.ts:5297
Implementation of
conversation?
optionalconversation:null|string
Defined in: WAProto/index.d.ts:5285
Implementation of
declinePaymentRequestMessage?
optionaldeclinePaymentRequestMessage:null|IDeclinePaymentRequestMessage
Defined in: WAProto/index.d.ts:5303
Implementation of
IMessage.declinePaymentRequestMessage
deviceSentMessage?
optionaldeviceSentMessage:null|IDeviceSentMessage
Defined in: WAProto/index.d.ts:5310
Implementation of
documentMessage?
optionaldocumentMessage:null|IDocumentMessage
Defined in: WAProto/index.d.ts:5291
Implementation of
documentWithCaptionMessage?
optionaldocumentWithCaptionMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5328
Implementation of
IMessage.documentWithCaptionMessage
editedMessage?
optionaleditedMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5332
Implementation of
encCommentMessage?
optionalencCommentMessage:null|IEncCommentMessage
Defined in: WAProto/index.d.ts:5344
Implementation of
encEventResponseMessage?
optionalencEventResponseMessage:null|IEncEventResponseMessage
Defined in: WAProto/index.d.ts:5348
Implementation of
IMessage.encEventResponseMessage
encReactionMessage?
optionalencReactionMessage:null|IEncReactionMessage
Defined in: WAProto/index.d.ts:5331
Implementation of
ephemeralMessage?
optionalephemeralMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5316
Implementation of
eventCoverImage?
optionaleventCoverImage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5354
Implementation of
eventMessage?
optionaleventMessage:null|IEventMessage
Defined in: WAProto/index.d.ts:5347
Implementation of
extendedTextMessage?
optionalextendedTextMessage:null|IExtendedTextMessage
Defined in: WAProto/index.d.ts:5290
Implementation of
fastRatchetKeySenderKeyDistributionMessage?
optionalfastRatchetKeySenderKeyDistributionMessage:null|ISenderKeyDistributionMessage
Defined in: WAProto/index.d.ts:5299
Implementation of
IMessage.fastRatchetKeySenderKeyDistributionMessage
groupInviteMessage?
optionalgroupInviteMessage:null|IGroupInviteMessage
Defined in: WAProto/index.d.ts:5307
Implementation of
groupMentionedMessage?
optionalgroupMentionedMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5336
Implementation of
IMessage.groupMentionedMessage
groupStatusMentionMessage?
optionalgroupStatusMentionMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5360
Implementation of
IMessage.groupStatusMentionMessage
groupStatusMessage?
optionalgroupStatusMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5363
Implementation of
groupStatusMessageV2?
optionalgroupStatusMessageV2:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5370
Implementation of
highlyStructuredMessage?
optionalhighlyStructuredMessage:null|IHighlyStructuredMessage
Defined in: WAProto/index.d.ts:5298
Implementation of
IMessage.highlyStructuredMessage
imageMessage?
optionalimageMessage:null|IImageMessage
Defined in: WAProto/index.d.ts:5287
Implementation of
interactiveMessage?
optionalinteractiveMessage:null|IInteractiveMessage
Defined in: WAProto/index.d.ts:5321
Implementation of
interactiveResponseMessage?
optionalinteractiveResponseMessage:null|IInteractiveResponseMessage
Defined in: WAProto/index.d.ts:5324
Implementation of
IMessage.interactiveResponseMessage
invoiceMessage?
optionalinvoiceMessage:null|IInvoiceMessage
Defined in: WAProto/index.d.ts:5317
Implementation of
keepInChatMessage?
optionalkeepInChatMessage:null|IKeepInChatMessage
Defined in: WAProto/index.d.ts:5327
Implementation of
limitSharingMessage?
optionallimitSharingMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5366
Implementation of
listMessage?
optionallistMessage:null|IListMessage
Defined in: WAProto/index.d.ts:5312
Implementation of
listResponseMessage?
optionallistResponseMessage:null|IListResponseMessage
Defined in: WAProto/index.d.ts:5315
Implementation of
liveLocationMessage?
optionalliveLocationMessage:null|ILiveLocationMessage
Defined in: WAProto/index.d.ts:5301
Implementation of
locationMessage?
optionallocationMessage:null|ILocationMessage
Defined in: WAProto/index.d.ts:5289
Implementation of
lottieStickerMessage?
optionallottieStickerMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5346
Implementation of
messageContextInfo?
optionalmessageContextInfo:null|IMessageContextInfo
Defined in: WAProto/index.d.ts:5311
Implementation of
messageHistoryBundle?
optionalmessageHistoryBundle:null|IMessageHistoryBundle
Defined in: WAProto/index.d.ts:5343
Implementation of
messageHistoryNotice?
optionalmessageHistoryNotice:null|IMessageHistoryNotice
Defined in: WAProto/index.d.ts:5369
Implementation of
newsletterAdminInviteMessage?
optionalnewsletterAdminInviteMessage:null|INewsletterAdminInviteMessage
Defined in: WAProto/index.d.ts:5350
Implementation of
IMessage.newsletterAdminInviteMessage
newsletterFollowerInviteMessageV2?
optionalnewsletterFollowerInviteMessageV2:null|INewsletterFollowerInviteMessage
Defined in: WAProto/index.d.ts:5378
Implementation of
IMessage.newsletterFollowerInviteMessageV2
orderMessage?
optionalorderMessage:null|IOrderMessage
Defined in: WAProto/index.d.ts:5314
Implementation of
paymentInviteMessage?
optionalpaymentInviteMessage:null|IPaymentInviteMessage
Defined in: WAProto/index.d.ts:5320
Implementation of
pinInChatMessage?
optionalpinInChatMessage:null|IPinInChatMessage
Defined in: WAProto/index.d.ts:5337
Implementation of
placeholderMessage?
optionalplaceholderMessage:null|IPlaceholderMessage
Defined in: WAProto/index.d.ts:5351
Implementation of
pollCreationMessage?
optionalpollCreationMessage:null|IPollCreationMessage
Defined in: WAProto/index.d.ts:5325
Implementation of
pollCreationMessageV2?
optionalpollCreationMessageV2:null|IPollCreationMessage
Defined in: WAProto/index.d.ts:5334
Implementation of
IMessage.pollCreationMessageV2
pollCreationMessageV3?
optionalpollCreationMessageV3:null|IPollCreationMessage
Defined in: WAProto/index.d.ts:5338
Implementation of
IMessage.pollCreationMessageV3
pollCreationMessageV4?
optionalpollCreationMessageV4:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5361
Implementation of
IMessage.pollCreationMessageV4
pollCreationMessageV5?
optionalpollCreationMessageV5:null|IPollCreationMessage
Defined in: WAProto/index.d.ts:5377
Implementation of
IMessage.pollCreationMessageV5
pollCreationOptionImageMessage?
optionalpollCreationOptionImageMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5358
Implementation of
IMessage.pollCreationOptionImageMessage
pollResultSnapshotMessage?
optionalpollResultSnapshotMessage:null|IPollResultSnapshotMessage
Defined in: WAProto/index.d.ts:5357
Implementation of
IMessage.pollResultSnapshotMessage
pollResultSnapshotMessageV3?
optionalpollResultSnapshotMessageV3:null|IPollResultSnapshotMessage
Defined in: WAProto/index.d.ts:5379
Implementation of
IMessage.pollResultSnapshotMessageV3
pollUpdateMessage?
optionalpollUpdateMessage:null|IPollUpdateMessage
Defined in: WAProto/index.d.ts:5326
Implementation of
productMessage?
optionalproductMessage:null|IProductMessage
Defined in: WAProto/index.d.ts:5309
Implementation of
protocolMessage?
optionalprotocolMessage:null|IProtocolMessage
Defined in: WAProto/index.d.ts:5296
Implementation of
ptvMessage?
optionalptvMessage:null|IVideoMessage
Defined in: WAProto/index.d.ts:5340
Implementation of
questionMessage?
optionalquestionMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5368
Implementation of
questionReplyMessage?
optionalquestionReplyMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5373
Implementation of
questionResponseMessage?
optionalquestionResponseMessage:null|IQuestionResponseMessage
Defined in: WAProto/index.d.ts:5374
Implementation of
IMessage.questionResponseMessage
reactionMessage?
optionalreactionMessage:null|IReactionMessage
Defined in: WAProto/index.d.ts:5322
Implementation of
requestPaymentMessage?
optionalrequestPaymentMessage:null|IRequestPaymentMessage
Defined in: WAProto/index.d.ts:5302
Implementation of
IMessage.requestPaymentMessage
requestPhoneNumberMessage?
optionalrequestPhoneNumberMessage:null|IRequestPhoneNumberMessage
Defined in: WAProto/index.d.ts:5329
Implementation of
IMessage.requestPhoneNumberMessage
richResponseMessage?
optionalrichResponseMessage:null|IAIRichResponseMessage
Defined in: WAProto/index.d.ts:5364
Implementation of
scheduledCallCreationMessage?
optionalscheduledCallCreationMessage:null|IScheduledCallCreationMessage
Defined in: WAProto/index.d.ts:5335
Implementation of
IMessage.scheduledCallCreationMessage
scheduledCallEditMessage?
optionalscheduledCallEditMessage:null|IScheduledCallEditMessage
Defined in: WAProto/index.d.ts:5339
Implementation of
IMessage.scheduledCallEditMessage
secretEncryptedMessage?
optionalsecretEncryptedMessage:null|ISecretEncryptedMessage
Defined in: WAProto/index.d.ts:5352
Implementation of
IMessage.secretEncryptedMessage
senderKeyDistributionMessage?
optionalsenderKeyDistributionMessage:null|ISenderKeyDistributionMessage
Defined in: WAProto/index.d.ts:5286
Implementation of
IMessage.senderKeyDistributionMessage
sendPaymentMessage?
optionalsendPaymentMessage:null|ISendPaymentMessage
Defined in: WAProto/index.d.ts:5300
Implementation of
statusAddYours?
optionalstatusAddYours:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5362
Implementation of
statusMentionMessage?
optionalstatusMentionMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5356
Implementation of
statusNotificationMessage?
optionalstatusNotificationMessage:null|IStatusNotificationMessage
Defined in: WAProto/index.d.ts:5365
Implementation of
IMessage.statusNotificationMessage
statusQuestionAnswerMessage?
optionalstatusQuestionAnswerMessage:null|IStatusQuestionAnswerMessage
Defined in: WAProto/index.d.ts:5372
Implementation of
IMessage.statusQuestionAnswerMessage
statusQuotedMessage?
optionalstatusQuotedMessage:null|IStatusQuotedMessage
Defined in: WAProto/index.d.ts:5375
Implementation of
statusStickerInteractionMessage?
optionalstatusStickerInteractionMessage:null|IStatusStickerInteractionMessage
Defined in: WAProto/index.d.ts:5376
Implementation of
IMessage.statusStickerInteractionMessage
stickerMessage?
optionalstickerMessage:null|IStickerMessage
Defined in: WAProto/index.d.ts:5306
Implementation of
stickerPackMessage?
optionalstickerPackMessage:null|IStickerPackMessage
Defined in: WAProto/index.d.ts:5355
Implementation of
stickerSyncRmrMessage?
optionalstickerSyncRmrMessage:null|IStickerSyncRMRMessage
Defined in: WAProto/index.d.ts:5323
Implementation of
IMessage.stickerSyncRmrMessage
templateButtonReplyMessage?
optionaltemplateButtonReplyMessage:null|ITemplateButtonReplyMessage
Defined in: WAProto/index.d.ts:5308
Implementation of
IMessage.templateButtonReplyMessage
templateMessage?
optionaltemplateMessage:null|ITemplateMessage
Defined in: WAProto/index.d.ts:5305
Implementation of
videoMessage?
optionalvideoMessage:null|IVideoMessage
Defined in: WAProto/index.d.ts:5293
Implementation of
viewOnceMessage?
optionalviewOnceMessage:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5313
Implementation of
viewOnceMessageV2?
optionalviewOnceMessageV2:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5330
Implementation of
viewOnceMessageV2Extension?
optionalviewOnceMessageV2Extension:null|IFutureProofMessage
Defined in: WAProto/index.d.ts:5333
Implementation of
IMessage.viewOnceMessageV2Extension
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:5385
Returns
object
create()
staticcreate(properties?):Message
Defined in: WAProto/index.d.ts:5380
Parameters
properties?
Returns
decode()
staticdecode(r,l?):Message
Defined in: WAProto/index.d.ts:5382
Parameters
r
Uint8Array<ArrayBufferLike> | Reader
l?
number
Returns
encode()
staticencode(m,w?):Writer
Defined in: WAProto/index.d.ts:5381
Parameters
m
w?
Writer
Returns
Writer
fromObject()
staticfromObject(d):Message
Defined in: WAProto/index.d.ts:5383
Parameters
d
Returns
getTypeUrl()
staticgetTypeUrl(typeUrlPrefix?):string
Defined in: WAProto/index.d.ts:5386
Parameters
typeUrlPrefix?
string
Returns
string
toObject()
statictoObject(m,o?):object
Defined in: WAProto/index.d.ts:5384
Parameters
m
o?
IConversionOptions
Returns
object