Class: Message
Defined in: WAProto/index.d.ts:4306
Implements
Constructors
new Message()
new Message(
p
?):Message
Defined in: WAProto/index.d.ts:4307
Parameters
p?
Returns
Properties
albumMessage?
optional
albumMessage:null
|IAlbumMessage
Defined in: WAProto/index.d.ts:4376
Implementation of
associatedChildMessage?
optional
associatedChildMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4382
Implementation of
IMessage
.associatedChildMessage
audioMessage?
optional
audioMessage:null
|IAudioMessage
Defined in: WAProto/index.d.ts:4315
Implementation of
bcallMessage?
optional
bcallMessage:null
|IBCallMessage
Defined in: WAProto/index.d.ts:4368
Implementation of
botInvokeMessage?
optional
botInvokeMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4364
Implementation of
botTaskMessage?
optional
botTaskMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4391
Implementation of
buttonsMessage?
optional
buttonsMessage:null
|IButtonsMessage
Defined in: WAProto/index.d.ts:4341
Implementation of
buttonsResponseMessage?
optional
buttonsResponseMessage:null
|IButtonsResponseMessage
Defined in: WAProto/index.d.ts:4342
Implementation of
IMessage
.buttonsResponseMessage
call?
optional
call:null
|ICall
Defined in: WAProto/index.d.ts:4317
Implementation of
callLogMesssage?
optional
callLogMesssage:null
|ICallLogMessage
Defined in: WAProto/index.d.ts:4365
Implementation of
cancelPaymentRequestMessage?
optional
cancelPaymentRequestMessage:null
|ICancelPaymentRequestMessage
Defined in: WAProto/index.d.ts:4327
Implementation of
IMessage
.cancelPaymentRequestMessage
chat?
optional
chat:null
|IChat
Defined in: WAProto/index.d.ts:4318
Implementation of
commentMessage?
optional
commentMessage:null
|ICommentMessage
Defined in: WAProto/index.d.ts:4372
Implementation of
contactMessage?
optional
contactMessage:null
|IContactMessage
Defined in: WAProto/index.d.ts:4311
Implementation of
contactsArrayMessage?
optional
contactsArrayMessage:null
|IContactsArrayMessage
Defined in: WAProto/index.d.ts:4320
Implementation of
conversation?
optional
conversation:null
|string
Defined in: WAProto/index.d.ts:4308
Implementation of
declinePaymentRequestMessage?
optional
declinePaymentRequestMessage:null
|IDeclinePaymentRequestMessage
Defined in: WAProto/index.d.ts:4326
Implementation of
IMessage
.declinePaymentRequestMessage
deviceSentMessage?
optional
deviceSentMessage:null
|IDeviceSentMessage
Defined in: WAProto/index.d.ts:4333
Implementation of
documentMessage?
optional
documentMessage:null
|IDocumentMessage
Defined in: WAProto/index.d.ts:4314
Implementation of
documentWithCaptionMessage?
optional
documentWithCaptionMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4351
Implementation of
IMessage
.documentWithCaptionMessage
editedMessage?
optional
editedMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4355
Implementation of
encCommentMessage?
optional
encCommentMessage:null
|IEncCommentMessage
Defined in: WAProto/index.d.ts:4367
Implementation of
encEventResponseMessage?
optional
encEventResponseMessage:null
|IEncEventResponseMessage
Defined in: WAProto/index.d.ts:4371
Implementation of
IMessage
.encEventResponseMessage
encReactionMessage?
optional
encReactionMessage:null
|IEncReactionMessage
Defined in: WAProto/index.d.ts:4354
Implementation of
ephemeralMessage?
optional
ephemeralMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4339
Implementation of
eventCoverImage?
optional
eventCoverImage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4377
Implementation of
eventMessage?
optional
eventMessage:null
|IEventMessage
Defined in: WAProto/index.d.ts:4370
Implementation of
extendedTextMessage?
optional
extendedTextMessage:null
|IExtendedTextMessage
Defined in: WAProto/index.d.ts:4313
Implementation of
fastRatchetKeySenderKeyDistributionMessage?
optional
fastRatchetKeySenderKeyDistributionMessage:null
|ISenderKeyDistributionMessage
Defined in: WAProto/index.d.ts:4322
Implementation of
IMessage
.fastRatchetKeySenderKeyDistributionMessage
groupInviteMessage?
optional
groupInviteMessage:null
|IGroupInviteMessage
Defined in: WAProto/index.d.ts:4330
Implementation of
groupMentionedMessage?
optional
groupMentionedMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4359
Implementation of
IMessage
.groupMentionedMessage
groupStatusMentionMessage?
optional
groupStatusMentionMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4383
Implementation of
IMessage
.groupStatusMentionMessage
groupStatusMessage?
optional
groupStatusMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4387
Implementation of
highlyStructuredMessage?
optional
highlyStructuredMessage:null
|IHighlyStructuredMessage
Defined in: WAProto/index.d.ts:4321
Implementation of
IMessage
.highlyStructuredMessage
imageMessage?
optional
imageMessage:null
|IImageMessage
Defined in: WAProto/index.d.ts:4310
Implementation of
interactiveMessage?
optional
interactiveMessage:null
|IInteractiveMessage
Defined in: WAProto/index.d.ts:4344
Implementation of
interactiveResponseMessage?
optional
interactiveResponseMessage:null
|IInteractiveResponseMessage
Defined in: WAProto/index.d.ts:4347
Implementation of
IMessage
.interactiveResponseMessage
invoiceMessage?
optional
invoiceMessage:null
|IInvoiceMessage
Defined in: WAProto/index.d.ts:4340
Implementation of
keepInChatMessage?
optional
keepInChatMessage:null
|IKeepInChatMessage
Defined in: WAProto/index.d.ts:4350
Implementation of
limitSharingMessage?
optional
limitSharingMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4390
Implementation of
listMessage?
optional
listMessage:null
|IListMessage
Defined in: WAProto/index.d.ts:4335
Implementation of
listResponseMessage?
optional
listResponseMessage:null
|IListResponseMessage
Defined in: WAProto/index.d.ts:4338
Implementation of
liveLocationMessage?
optional
liveLocationMessage:null
|ILiveLocationMessage
Defined in: WAProto/index.d.ts:4324
Implementation of
locationMessage?
optional
locationMessage:null
|ILocationMessage
Defined in: WAProto/index.d.ts:4312
Implementation of
lottieStickerMessage?
optional
lottieStickerMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4369
Implementation of
messageContextInfo?
optional
messageContextInfo:null
|IMessageContextInfo
Defined in: WAProto/index.d.ts:4334
Implementation of
messageHistoryBundle?
optional
messageHistoryBundle:null
|IMessageHistoryBundle
Defined in: WAProto/index.d.ts:4366
Implementation of
messageHistoryNotice?
optional
messageHistoryNotice:null
|IMessageHistoryNotice
Defined in: WAProto/index.d.ts:4393
Implementation of
newsletterAdminInviteMessage?
optional
newsletterAdminInviteMessage:null
|INewsletterAdminInviteMessage
Defined in: WAProto/index.d.ts:4373
Implementation of
IMessage
.newsletterAdminInviteMessage
orderMessage?
optional
orderMessage:null
|IOrderMessage
Defined in: WAProto/index.d.ts:4337
Implementation of
paymentInviteMessage?
optional
paymentInviteMessage:null
|IPaymentInviteMessage
Defined in: WAProto/index.d.ts:4343
Implementation of
pinInChatMessage?
optional
pinInChatMessage:null
|IPinInChatMessage
Defined in: WAProto/index.d.ts:4360
Implementation of
placeholderMessage?
optional
placeholderMessage:null
|IPlaceholderMessage
Defined in: WAProto/index.d.ts:4374
Implementation of
pollCreationMessage?
optional
pollCreationMessage:null
|IPollCreationMessage
Defined in: WAProto/index.d.ts:4348
Implementation of
pollCreationMessageV2?
optional
pollCreationMessageV2:null
|IPollCreationMessage
Defined in: WAProto/index.d.ts:4357
Implementation of
IMessage
.pollCreationMessageV2
pollCreationMessageV3?
optional
pollCreationMessageV3:null
|IPollCreationMessage
Defined in: WAProto/index.d.ts:4361
Implementation of
IMessage
.pollCreationMessageV3
pollCreationMessageV4?
optional
pollCreationMessageV4:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4384
Implementation of
IMessage
.pollCreationMessageV4
pollCreationMessageV5?
optional
pollCreationMessageV5:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4385
Implementation of
IMessage
.pollCreationMessageV5
pollCreationOptionImageMessage?
optional
pollCreationOptionImageMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4381
Implementation of
IMessage
.pollCreationOptionImageMessage
pollResultSnapshotMessage?
optional
pollResultSnapshotMessage:null
|IPollResultSnapshotMessage
Defined in: WAProto/index.d.ts:4380
Implementation of
IMessage
.pollResultSnapshotMessage
pollUpdateMessage?
optional
pollUpdateMessage:null
|IPollUpdateMessage
Defined in: WAProto/index.d.ts:4349
Implementation of
productMessage?
optional
productMessage:null
|IProductMessage
Defined in: WAProto/index.d.ts:4332
Implementation of
protocolMessage?
optional
protocolMessage:null
|IProtocolMessage
Defined in: WAProto/index.d.ts:4319
Implementation of
ptvMessage?
optional
ptvMessage:null
|IVideoMessage
Defined in: WAProto/index.d.ts:4363
Implementation of
questionMessage?
optional
questionMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4392
Implementation of
reactionMessage?
optional
reactionMessage:null
|IReactionMessage
Defined in: WAProto/index.d.ts:4345
Implementation of
requestPaymentMessage?
optional
requestPaymentMessage:null
|IRequestPaymentMessage
Defined in: WAProto/index.d.ts:4325
Implementation of
IMessage
.requestPaymentMessage
requestPhoneNumberMessage?
optional
requestPhoneNumberMessage:null
|IRequestPhoneNumberMessage
Defined in: WAProto/index.d.ts:4352
Implementation of
IMessage
.requestPhoneNumberMessage
richResponseMessage?
optional
richResponseMessage:null
|IAIRichResponseMessage
Defined in: WAProto/index.d.ts:4388
Implementation of
scheduledCallCreationMessage?
optional
scheduledCallCreationMessage:null
|IScheduledCallCreationMessage
Defined in: WAProto/index.d.ts:4358
Implementation of
IMessage
.scheduledCallCreationMessage
scheduledCallEditMessage?
optional
scheduledCallEditMessage:null
|IScheduledCallEditMessage
Defined in: WAProto/index.d.ts:4362
Implementation of
IMessage
.scheduledCallEditMessage
secretEncryptedMessage?
optional
secretEncryptedMessage:null
|ISecretEncryptedMessage
Defined in: WAProto/index.d.ts:4375
Implementation of
IMessage
.secretEncryptedMessage
senderKeyDistributionMessage?
optional
senderKeyDistributionMessage:null
|ISenderKeyDistributionMessage
Defined in: WAProto/index.d.ts:4309
Implementation of
IMessage
.senderKeyDistributionMessage
sendPaymentMessage?
optional
sendPaymentMessage:null
|ISendPaymentMessage
Defined in: WAProto/index.d.ts:4323
Implementation of
statusAddYours?
optional
statusAddYours:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4386
Implementation of
statusMentionMessage?
optional
statusMentionMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4379
Implementation of
statusNotificationMessage?
optional
statusNotificationMessage:null
|IStatusNotificationMessage
Defined in: WAProto/index.d.ts:4389
Implementation of
IMessage
.statusNotificationMessage
stickerMessage?
optional
stickerMessage:null
|IStickerMessage
Defined in: WAProto/index.d.ts:4329
Implementation of
stickerPackMessage?
optional
stickerPackMessage:null
|IStickerPackMessage
Defined in: WAProto/index.d.ts:4378
Implementation of
stickerSyncRmrMessage?
optional
stickerSyncRmrMessage:null
|IStickerSyncRMRMessage
Defined in: WAProto/index.d.ts:4346
Implementation of
IMessage
.stickerSyncRmrMessage
templateButtonReplyMessage?
optional
templateButtonReplyMessage:null
|ITemplateButtonReplyMessage
Defined in: WAProto/index.d.ts:4331
Implementation of
IMessage
.templateButtonReplyMessage
templateMessage?
optional
templateMessage:null
|ITemplateMessage
Defined in: WAProto/index.d.ts:4328
Implementation of
videoMessage?
optional
videoMessage:null
|IVideoMessage
Defined in: WAProto/index.d.ts:4316
Implementation of
viewOnceMessage?
optional
viewOnceMessage:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4336
Implementation of
viewOnceMessageV2?
optional
viewOnceMessageV2:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4353
Implementation of
viewOnceMessageV2Extension?
optional
viewOnceMessageV2Extension:null
|IFutureProofMessage
Defined in: WAProto/index.d.ts:4356
Implementation of
IMessage
.viewOnceMessageV2Extension
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:4399
Returns
object
create()
static
create(properties
?):Message
Defined in: WAProto/index.d.ts:4394
Parameters
properties?
Returns
decode()
static
decode(r
,l
?):Message
Defined in: WAProto/index.d.ts:4396
Parameters
r
Uint8Array
<ArrayBufferLike
> | Reader
l?
number
Returns
encode()
static
encode(m
,w
?):Writer
Defined in: WAProto/index.d.ts:4395
Parameters
m
w?
Writer
Returns
Writer
fromObject()
static
fromObject(d
):Message
Defined in: WAProto/index.d.ts:4397
Parameters
d
Returns
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:4400
Parameters
typeUrlPrefix?
string
Returns
string
toObject()
static
toObject(m
,o
?):object
Defined in: WAProto/index.d.ts:4398
Parameters
m
o?
IConversionOptions
Returns
object