Skip to main content
Defined in: WAProto/index.d.ts:5283

Implements

Constructors

new Message()

new Message(p?): Message
Defined in: WAProto/index.d.ts:5284

Parameters

p?
IMessage

Returns

Message

Properties

albumMessage?

optional albumMessage: null | IAlbumMessage
Defined in: WAProto/index.d.ts:5353

Implementation of

IMessage.albumMessage

associatedChildMessage?

optional associatedChildMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5359

Implementation of

IMessage.associatedChildMessage

audioMessage?

optional audioMessage: null | IAudioMessage
Defined in: WAProto/index.d.ts:5292

Implementation of

IMessage.audioMessage

bcallMessage?

optional bcallMessage: null | IBCallMessage
Defined in: WAProto/index.d.ts:5345

Implementation of

IMessage.bcallMessage

botForwardedMessage?

optional botForwardedMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5371

Implementation of

IMessage.botForwardedMessage

botInvokeMessage?

optional botInvokeMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5341

Implementation of

IMessage.botInvokeMessage

botTaskMessage?

optional botTaskMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5367

Implementation of

IMessage.botTaskMessage

buttonsMessage?

optional buttonsMessage: null | IButtonsMessage
Defined in: WAProto/index.d.ts:5318

Implementation of

IMessage.buttonsMessage

buttonsResponseMessage?

optional buttonsResponseMessage: null | IButtonsResponseMessage
Defined in: WAProto/index.d.ts:5319

Implementation of

IMessage.buttonsResponseMessage

call?

optional call: null | ICall
Defined in: WAProto/index.d.ts:5294

Implementation of

IMessage.call

callLogMesssage?

optional callLogMesssage: null | ICallLogMessage
Defined in: WAProto/index.d.ts:5342

Implementation of

IMessage.callLogMesssage

cancelPaymentRequestMessage?

optional cancelPaymentRequestMessage: null | ICancelPaymentRequestMessage
Defined in: WAProto/index.d.ts:5304

Implementation of

IMessage.cancelPaymentRequestMessage

chat?

optional chat: null | IChat
Defined in: WAProto/index.d.ts:5295

Implementation of

IMessage.chat

commentMessage?

optional commentMessage: null | ICommentMessage
Defined in: WAProto/index.d.ts:5349

Implementation of

IMessage.commentMessage

contactMessage?

optional contactMessage: null | IContactMessage
Defined in: WAProto/index.d.ts:5288

Implementation of

IMessage.contactMessage

contactsArrayMessage?

optional contactsArrayMessage: null | IContactsArrayMessage
Defined in: WAProto/index.d.ts:5297

Implementation of

IMessage.contactsArrayMessage

conversation?

optional conversation: null | string
Defined in: WAProto/index.d.ts:5285

Implementation of

IMessage.conversation

declinePaymentRequestMessage?

optional declinePaymentRequestMessage: null | IDeclinePaymentRequestMessage
Defined in: WAProto/index.d.ts:5303

Implementation of

IMessage.declinePaymentRequestMessage

deviceSentMessage?

optional deviceSentMessage: null | IDeviceSentMessage
Defined in: WAProto/index.d.ts:5310

Implementation of

IMessage.deviceSentMessage

documentMessage?

optional documentMessage: null | IDocumentMessage
Defined in: WAProto/index.d.ts:5291

Implementation of

IMessage.documentMessage

documentWithCaptionMessage?

optional documentWithCaptionMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5328

Implementation of

IMessage.documentWithCaptionMessage

editedMessage?

optional editedMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5332

Implementation of

IMessage.editedMessage

encCommentMessage?

optional encCommentMessage: null | IEncCommentMessage
Defined in: WAProto/index.d.ts:5344

Implementation of

IMessage.encCommentMessage

encEventResponseMessage?

optional encEventResponseMessage: null | IEncEventResponseMessage
Defined in: WAProto/index.d.ts:5348

Implementation of

IMessage.encEventResponseMessage

encReactionMessage?

optional encReactionMessage: null | IEncReactionMessage
Defined in: WAProto/index.d.ts:5331

Implementation of

IMessage.encReactionMessage

ephemeralMessage?

optional ephemeralMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5316

Implementation of

IMessage.ephemeralMessage

eventCoverImage?

optional eventCoverImage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5354

Implementation of

IMessage.eventCoverImage

eventMessage?

optional eventMessage: null | IEventMessage
Defined in: WAProto/index.d.ts:5347

Implementation of

IMessage.eventMessage

extendedTextMessage?

optional extendedTextMessage: null | IExtendedTextMessage
Defined in: WAProto/index.d.ts:5290

Implementation of

IMessage.extendedTextMessage

fastRatchetKeySenderKeyDistributionMessage?

optional fastRatchetKeySenderKeyDistributionMessage: null | ISenderKeyDistributionMessage
Defined in: WAProto/index.d.ts:5299

Implementation of

IMessage.fastRatchetKeySenderKeyDistributionMessage

groupInviteMessage?

optional groupInviteMessage: null | IGroupInviteMessage
Defined in: WAProto/index.d.ts:5307

Implementation of

IMessage.groupInviteMessage

groupMentionedMessage?

optional groupMentionedMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5336

Implementation of

IMessage.groupMentionedMessage

groupStatusMentionMessage?

optional groupStatusMentionMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5360

Implementation of

IMessage.groupStatusMentionMessage

groupStatusMessage?

optional groupStatusMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5363

Implementation of

IMessage.groupStatusMessage

groupStatusMessageV2?

optional groupStatusMessageV2: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5370

Implementation of

IMessage.groupStatusMessageV2

highlyStructuredMessage?

optional highlyStructuredMessage: null | IHighlyStructuredMessage
Defined in: WAProto/index.d.ts:5298

Implementation of

IMessage.highlyStructuredMessage

imageMessage?

optional imageMessage: null | IImageMessage
Defined in: WAProto/index.d.ts:5287

Implementation of

IMessage.imageMessage

interactiveMessage?

optional interactiveMessage: null | IInteractiveMessage
Defined in: WAProto/index.d.ts:5321

Implementation of

IMessage.interactiveMessage

interactiveResponseMessage?

optional interactiveResponseMessage: null | IInteractiveResponseMessage
Defined in: WAProto/index.d.ts:5324

Implementation of

IMessage.interactiveResponseMessage

invoiceMessage?

optional invoiceMessage: null | IInvoiceMessage
Defined in: WAProto/index.d.ts:5317

Implementation of

IMessage.invoiceMessage

keepInChatMessage?

optional keepInChatMessage: null | IKeepInChatMessage
Defined in: WAProto/index.d.ts:5327

Implementation of

IMessage.keepInChatMessage

limitSharingMessage?

optional limitSharingMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5366

Implementation of

IMessage.limitSharingMessage

listMessage?

optional listMessage: null | IListMessage
Defined in: WAProto/index.d.ts:5312

Implementation of

IMessage.listMessage

listResponseMessage?

optional listResponseMessage: null | IListResponseMessage
Defined in: WAProto/index.d.ts:5315

Implementation of

IMessage.listResponseMessage

liveLocationMessage?

optional liveLocationMessage: null | ILiveLocationMessage
Defined in: WAProto/index.d.ts:5301

Implementation of

IMessage.liveLocationMessage

locationMessage?

optional locationMessage: null | ILocationMessage
Defined in: WAProto/index.d.ts:5289

Implementation of

IMessage.locationMessage

lottieStickerMessage?

optional lottieStickerMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5346

Implementation of

IMessage.lottieStickerMessage

messageContextInfo?

optional messageContextInfo: null | IMessageContextInfo
Defined in: WAProto/index.d.ts:5311

Implementation of

IMessage.messageContextInfo

messageHistoryBundle?

optional messageHistoryBundle: null | IMessageHistoryBundle
Defined in: WAProto/index.d.ts:5343

Implementation of

IMessage.messageHistoryBundle

messageHistoryNotice?

optional messageHistoryNotice: null | IMessageHistoryNotice
Defined in: WAProto/index.d.ts:5369

Implementation of

IMessage.messageHistoryNotice

newsletterAdminInviteMessage?

optional newsletterAdminInviteMessage: null | INewsletterAdminInviteMessage
Defined in: WAProto/index.d.ts:5350

Implementation of

IMessage.newsletterAdminInviteMessage

newsletterFollowerInviteMessageV2?

optional newsletterFollowerInviteMessageV2: null | INewsletterFollowerInviteMessage
Defined in: WAProto/index.d.ts:5378

Implementation of

IMessage.newsletterFollowerInviteMessageV2

orderMessage?

optional orderMessage: null | IOrderMessage
Defined in: WAProto/index.d.ts:5314

Implementation of

IMessage.orderMessage

paymentInviteMessage?

optional paymentInviteMessage: null | IPaymentInviteMessage
Defined in: WAProto/index.d.ts:5320

Implementation of

IMessage.paymentInviteMessage

pinInChatMessage?

optional pinInChatMessage: null | IPinInChatMessage
Defined in: WAProto/index.d.ts:5337

Implementation of

IMessage.pinInChatMessage

placeholderMessage?

optional placeholderMessage: null | IPlaceholderMessage
Defined in: WAProto/index.d.ts:5351

Implementation of

IMessage.placeholderMessage

pollCreationMessage?

optional pollCreationMessage: null | IPollCreationMessage
Defined in: WAProto/index.d.ts:5325

Implementation of

IMessage.pollCreationMessage

pollCreationMessageV2?

optional pollCreationMessageV2: null | IPollCreationMessage
Defined in: WAProto/index.d.ts:5334

Implementation of

IMessage.pollCreationMessageV2

pollCreationMessageV3?

optional pollCreationMessageV3: null | IPollCreationMessage
Defined in: WAProto/index.d.ts:5338

Implementation of

IMessage.pollCreationMessageV3

pollCreationMessageV4?

optional pollCreationMessageV4: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5361

Implementation of

IMessage.pollCreationMessageV4

pollCreationMessageV5?

optional pollCreationMessageV5: null | IPollCreationMessage
Defined in: WAProto/index.d.ts:5377

Implementation of

IMessage.pollCreationMessageV5

pollCreationOptionImageMessage?

optional pollCreationOptionImageMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5358

Implementation of

IMessage.pollCreationOptionImageMessage

pollResultSnapshotMessage?

optional pollResultSnapshotMessage: null | IPollResultSnapshotMessage
Defined in: WAProto/index.d.ts:5357

Implementation of

IMessage.pollResultSnapshotMessage

pollResultSnapshotMessageV3?

optional pollResultSnapshotMessageV3: null | IPollResultSnapshotMessage
Defined in: WAProto/index.d.ts:5379

Implementation of

IMessage.pollResultSnapshotMessageV3

pollUpdateMessage?

optional pollUpdateMessage: null | IPollUpdateMessage
Defined in: WAProto/index.d.ts:5326

Implementation of

IMessage.pollUpdateMessage

productMessage?

optional productMessage: null | IProductMessage
Defined in: WAProto/index.d.ts:5309

Implementation of

IMessage.productMessage

protocolMessage?

optional protocolMessage: null | IProtocolMessage
Defined in: WAProto/index.d.ts:5296

Implementation of

IMessage.protocolMessage

ptvMessage?

optional ptvMessage: null | IVideoMessage
Defined in: WAProto/index.d.ts:5340

Implementation of

IMessage.ptvMessage

questionMessage?

optional questionMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5368

Implementation of

IMessage.questionMessage

questionReplyMessage?

optional questionReplyMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5373

Implementation of

IMessage.questionReplyMessage

questionResponseMessage?

optional questionResponseMessage: null | IQuestionResponseMessage
Defined in: WAProto/index.d.ts:5374

Implementation of

IMessage.questionResponseMessage

reactionMessage?

optional reactionMessage: null | IReactionMessage
Defined in: WAProto/index.d.ts:5322

Implementation of

IMessage.reactionMessage

requestPaymentMessage?

optional requestPaymentMessage: null | IRequestPaymentMessage
Defined in: WAProto/index.d.ts:5302

Implementation of

IMessage.requestPaymentMessage

requestPhoneNumberMessage?

optional requestPhoneNumberMessage: null | IRequestPhoneNumberMessage
Defined in: WAProto/index.d.ts:5329

Implementation of

IMessage.requestPhoneNumberMessage

richResponseMessage?

optional richResponseMessage: null | IAIRichResponseMessage
Defined in: WAProto/index.d.ts:5364

Implementation of

IMessage.richResponseMessage

scheduledCallCreationMessage?

optional scheduledCallCreationMessage: null | IScheduledCallCreationMessage
Defined in: WAProto/index.d.ts:5335

Implementation of

IMessage.scheduledCallCreationMessage

scheduledCallEditMessage?

optional scheduledCallEditMessage: null | IScheduledCallEditMessage
Defined in: WAProto/index.d.ts:5339

Implementation of

IMessage.scheduledCallEditMessage

secretEncryptedMessage?

optional secretEncryptedMessage: null | ISecretEncryptedMessage
Defined in: WAProto/index.d.ts:5352

Implementation of

IMessage.secretEncryptedMessage

senderKeyDistributionMessage?

optional senderKeyDistributionMessage: null | ISenderKeyDistributionMessage
Defined in: WAProto/index.d.ts:5286

Implementation of

IMessage.senderKeyDistributionMessage

sendPaymentMessage?

optional sendPaymentMessage: null | ISendPaymentMessage
Defined in: WAProto/index.d.ts:5300

Implementation of

IMessage.sendPaymentMessage

statusAddYours?

optional statusAddYours: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5362

Implementation of

IMessage.statusAddYours

statusMentionMessage?

optional statusMentionMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5356

Implementation of

IMessage.statusMentionMessage

statusNotificationMessage?

optional statusNotificationMessage: null | IStatusNotificationMessage
Defined in: WAProto/index.d.ts:5365

Implementation of

IMessage.statusNotificationMessage

statusQuestionAnswerMessage?

optional statusQuestionAnswerMessage: null | IStatusQuestionAnswerMessage
Defined in: WAProto/index.d.ts:5372

Implementation of

IMessage.statusQuestionAnswerMessage

statusQuotedMessage?

optional statusQuotedMessage: null | IStatusQuotedMessage
Defined in: WAProto/index.d.ts:5375

Implementation of

IMessage.statusQuotedMessage

statusStickerInteractionMessage?

optional statusStickerInteractionMessage: null | IStatusStickerInteractionMessage
Defined in: WAProto/index.d.ts:5376

Implementation of

IMessage.statusStickerInteractionMessage

stickerMessage?

optional stickerMessage: null | IStickerMessage
Defined in: WAProto/index.d.ts:5306

Implementation of

IMessage.stickerMessage

stickerPackMessage?

optional stickerPackMessage: null | IStickerPackMessage
Defined in: WAProto/index.d.ts:5355

Implementation of

IMessage.stickerPackMessage

stickerSyncRmrMessage?

optional stickerSyncRmrMessage: null | IStickerSyncRMRMessage
Defined in: WAProto/index.d.ts:5323

Implementation of

IMessage.stickerSyncRmrMessage

templateButtonReplyMessage?

optional templateButtonReplyMessage: null | ITemplateButtonReplyMessage
Defined in: WAProto/index.d.ts:5308

Implementation of

IMessage.templateButtonReplyMessage

templateMessage?

optional templateMessage: null | ITemplateMessage
Defined in: WAProto/index.d.ts:5305

Implementation of

IMessage.templateMessage

videoMessage?

optional videoMessage: null | IVideoMessage
Defined in: WAProto/index.d.ts:5293

Implementation of

IMessage.videoMessage

viewOnceMessage?

optional viewOnceMessage: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5313

Implementation of

IMessage.viewOnceMessage

viewOnceMessageV2?

optional viewOnceMessageV2: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5330

Implementation of

IMessage.viewOnceMessageV2

viewOnceMessageV2Extension?

optional viewOnceMessageV2Extension: null | IFutureProofMessage
Defined in: WAProto/index.d.ts:5333

Implementation of

IMessage.viewOnceMessageV2Extension

Methods

create()

static create(properties?): Message
Defined in: WAProto/index.d.ts:5380

Parameters

properties?
IMessage

Returns

Message

decode()

static decode(r, l?): Message
Defined in: WAProto/index.d.ts:5382

Parameters

r
Uint8Array<ArrayBufferLike> | Reader
l?
number

Returns

Message

encode()

static encode(m, w?): Writer
Defined in: WAProto/index.d.ts:5381

Parameters

m
IMessage
w?
Writer

Returns

Writer

fromObject()

static fromObject(d): Message
Defined in: WAProto/index.d.ts:5383

Parameters

d

Returns

Message

getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string
Defined in: WAProto/index.d.ts:5386

Parameters

typeUrlPrefix?
string

Returns

string

toJSON()

toJSON(): object
Defined in: WAProto/index.d.ts:5385

Returns

object

toObject()

static toObject(m, o?): object
Defined in: WAProto/index.d.ts:5384

Parameters

m
Message
o?
IConversionOptions

Returns

object