Skip to main content

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?

IMessage

Returns

Message

Properties

albumMessage?

optional albumMessage: null | IAlbumMessage

Defined in: WAProto/index.d.ts:4376

Implementation of

IMessage.albumMessage


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

IMessage.audioMessage


bcallMessage?

optional bcallMessage: null | IBCallMessage

Defined in: WAProto/index.d.ts:4368

Implementation of

IMessage.bcallMessage


botInvokeMessage?

optional botInvokeMessage: null | IFutureProofMessage

Defined in: WAProto/index.d.ts:4364

Implementation of

IMessage.botInvokeMessage


botTaskMessage?

optional botTaskMessage: null | IFutureProofMessage

Defined in: WAProto/index.d.ts:4391

Implementation of

IMessage.botTaskMessage


buttonsMessage?

optional buttonsMessage: null | IButtonsMessage

Defined in: WAProto/index.d.ts:4341

Implementation of

IMessage.buttonsMessage


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

IMessage.call


callLogMesssage?

optional callLogMesssage: null | ICallLogMessage

Defined in: WAProto/index.d.ts:4365

Implementation of

IMessage.callLogMesssage


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

IMessage.chat


commentMessage?

optional commentMessage: null | ICommentMessage

Defined in: WAProto/index.d.ts:4372

Implementation of

IMessage.commentMessage


contactMessage?

optional contactMessage: null | IContactMessage

Defined in: WAProto/index.d.ts:4311

Implementation of

IMessage.contactMessage


contactsArrayMessage?

optional contactsArrayMessage: null | IContactsArrayMessage

Defined in: WAProto/index.d.ts:4320

Implementation of

IMessage.contactsArrayMessage


conversation?

optional conversation: null | string

Defined in: WAProto/index.d.ts:4308

Implementation of

IMessage.conversation


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

IMessage.deviceSentMessage


documentMessage?

optional documentMessage: null | IDocumentMessage

Defined in: WAProto/index.d.ts:4314

Implementation of

IMessage.documentMessage


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

IMessage.editedMessage


encCommentMessage?

optional encCommentMessage: null | IEncCommentMessage

Defined in: WAProto/index.d.ts:4367

Implementation of

IMessage.encCommentMessage


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

IMessage.encReactionMessage


ephemeralMessage?

optional ephemeralMessage: null | IFutureProofMessage

Defined in: WAProto/index.d.ts:4339

Implementation of

IMessage.ephemeralMessage


eventCoverImage?

optional eventCoverImage: null | IFutureProofMessage

Defined in: WAProto/index.d.ts:4377

Implementation of

IMessage.eventCoverImage


eventMessage?

optional eventMessage: null | IEventMessage

Defined in: WAProto/index.d.ts:4370

Implementation of

IMessage.eventMessage


extendedTextMessage?

optional extendedTextMessage: null | IExtendedTextMessage

Defined in: WAProto/index.d.ts:4313

Implementation of

IMessage.extendedTextMessage


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

IMessage.groupInviteMessage


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

IMessage.groupStatusMessage


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

IMessage.imageMessage


interactiveMessage?

optional interactiveMessage: null | IInteractiveMessage

Defined in: WAProto/index.d.ts:4344

Implementation of

IMessage.interactiveMessage


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

IMessage.invoiceMessage


keepInChatMessage?

optional keepInChatMessage: null | IKeepInChatMessage

Defined in: WAProto/index.d.ts:4350

Implementation of

IMessage.keepInChatMessage


limitSharingMessage?

optional limitSharingMessage: null | IFutureProofMessage

Defined in: WAProto/index.d.ts:4390

Implementation of

IMessage.limitSharingMessage


listMessage?

optional listMessage: null | IListMessage

Defined in: WAProto/index.d.ts:4335

Implementation of

IMessage.listMessage


listResponseMessage?

optional listResponseMessage: null | IListResponseMessage

Defined in: WAProto/index.d.ts:4338

Implementation of

IMessage.listResponseMessage


liveLocationMessage?

optional liveLocationMessage: null | ILiveLocationMessage

Defined in: WAProto/index.d.ts:4324

Implementation of

IMessage.liveLocationMessage


locationMessage?

optional locationMessage: null | ILocationMessage

Defined in: WAProto/index.d.ts:4312

Implementation of

IMessage.locationMessage


lottieStickerMessage?

optional lottieStickerMessage: null | IFutureProofMessage

Defined in: WAProto/index.d.ts:4369

Implementation of

IMessage.lottieStickerMessage


messageContextInfo?

optional messageContextInfo: null | IMessageContextInfo

Defined in: WAProto/index.d.ts:4334

Implementation of

IMessage.messageContextInfo


messageHistoryBundle?

optional messageHistoryBundle: null | IMessageHistoryBundle

Defined in: WAProto/index.d.ts:4366

Implementation of

IMessage.messageHistoryBundle


messageHistoryNotice?

optional messageHistoryNotice: null | IMessageHistoryNotice

Defined in: WAProto/index.d.ts:4393

Implementation of

IMessage.messageHistoryNotice


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

IMessage.orderMessage


paymentInviteMessage?

optional paymentInviteMessage: null | IPaymentInviteMessage

Defined in: WAProto/index.d.ts:4343

Implementation of

IMessage.paymentInviteMessage


pinInChatMessage?

optional pinInChatMessage: null | IPinInChatMessage

Defined in: WAProto/index.d.ts:4360

Implementation of

IMessage.pinInChatMessage


placeholderMessage?

optional placeholderMessage: null | IPlaceholderMessage

Defined in: WAProto/index.d.ts:4374

Implementation of

IMessage.placeholderMessage


pollCreationMessage?

optional pollCreationMessage: null | IPollCreationMessage

Defined in: WAProto/index.d.ts:4348

Implementation of

IMessage.pollCreationMessage


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

IMessage.pollUpdateMessage


productMessage?

optional productMessage: null | IProductMessage

Defined in: WAProto/index.d.ts:4332

Implementation of

IMessage.productMessage


protocolMessage?

optional protocolMessage: null | IProtocolMessage

Defined in: WAProto/index.d.ts:4319

Implementation of

IMessage.protocolMessage


ptvMessage?

optional ptvMessage: null | IVideoMessage

Defined in: WAProto/index.d.ts:4363

Implementation of

IMessage.ptvMessage


questionMessage?

optional questionMessage: null | IFutureProofMessage

Defined in: WAProto/index.d.ts:4392

Implementation of

IMessage.questionMessage


reactionMessage?

optional reactionMessage: null | IReactionMessage

Defined in: WAProto/index.d.ts:4345

Implementation of

IMessage.reactionMessage


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

IMessage.richResponseMessage


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

IMessage.sendPaymentMessage


statusAddYours?

optional statusAddYours: null | IFutureProofMessage

Defined in: WAProto/index.d.ts:4386

Implementation of

IMessage.statusAddYours


statusMentionMessage?

optional statusMentionMessage: null | IFutureProofMessage

Defined in: WAProto/index.d.ts:4379

Implementation of

IMessage.statusMentionMessage


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

IMessage.stickerMessage


stickerPackMessage?

optional stickerPackMessage: null | IStickerPackMessage

Defined in: WAProto/index.d.ts:4378

Implementation of

IMessage.stickerPackMessage


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

IMessage.templateMessage


videoMessage?

optional videoMessage: null | IVideoMessage

Defined in: WAProto/index.d.ts:4316

Implementation of

IMessage.videoMessage


viewOnceMessage?

optional viewOnceMessage: null | IFutureProofMessage

Defined in: WAProto/index.d.ts:4336

Implementation of

IMessage.viewOnceMessage


viewOnceMessageV2?

optional viewOnceMessageV2: null | IFutureProofMessage

Defined in: WAProto/index.d.ts:4353

Implementation of

IMessage.viewOnceMessageV2


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?

IMessage

Returns

Message


decode()

static decode(r, l?): Message

Defined in: WAProto/index.d.ts:4396

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

Message


encode()

static encode(m, w?): Writer

Defined in: WAProto/index.d.ts:4395

Parameters

m

IMessage

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): Message

Defined in: WAProto/index.d.ts:4397

Parameters

d

Returns

Message


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

Message

o?

IConversionOptions

Returns

object