Skip to main content

Message

amiudmodz


amiudmodz / proto / 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?

IMessage

Returns

Message

Properties

albumMessage?

optional albumMessage: null | IAlbumMessage

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

Implementation of

IMessage.albumMessage


associatedChildMessage?

optional associatedChildMessage: null | IFutureProofMessage

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

Implementation of

IMessage.associatedChildMessage


audioMessage?

optional audioMessage: null | IAudioMessage

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

Implementation of

IMessage.audioMessage


bcallMessage?

optional bcallMessage: null | IBCallMessage

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

Implementation of

IMessage.bcallMessage


botForwardedMessage?

optional botForwardedMessage: null | IFutureProofMessage

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

Implementation of

IMessage.botForwardedMessage


botInvokeMessage?

optional botInvokeMessage: null | IFutureProofMessage

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

Implementation of

IMessage.botInvokeMessage


botTaskMessage?

optional botTaskMessage: null | IFutureProofMessage

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

Implementation of

IMessage.botTaskMessage


buttonsMessage?

optional buttonsMessage: null | IButtonsMessage

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

Implementation of

IMessage.buttonsMessage


buttonsResponseMessage?

optional buttonsResponseMessage: null | IButtonsResponseMessage

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

Implementation of

IMessage.buttonsResponseMessage


call?

optional call: null | ICall

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

Implementation of

IMessage.call


callLogMesssage?

optional callLogMesssage: null | ICallLogMessage

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

Implementation of

IMessage.callLogMesssage


cancelPaymentRequestMessage?

optional cancelPaymentRequestMessage: null | ICancelPaymentRequestMessage

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

Implementation of

IMessage.cancelPaymentRequestMessage


chat?

optional chat: null | IChat

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

Implementation of

IMessage.chat


commentMessage?

optional commentMessage: null | ICommentMessage

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

Implementation of

IMessage.commentMessage


conditionalRevealMessage?

optional conditionalRevealMessage: null | IConditionalRevealMessage

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

Implementation of

IMessage.conditionalRevealMessage


contactMessage?

optional contactMessage: null | IContactMessage

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

Implementation of

IMessage.contactMessage


contactsArrayMessage?

optional contactsArrayMessage: null | IContactsArrayMessage

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

Implementation of

IMessage.contactsArrayMessage


conversation?

optional conversation: null | string

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

Implementation of

IMessage.conversation


declinePaymentRequestMessage?

optional declinePaymentRequestMessage: null | IDeclinePaymentRequestMessage

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

Implementation of

IMessage.declinePaymentRequestMessage


deviceSentMessage?

optional deviceSentMessage: null | IDeviceSentMessage

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

Implementation of

IMessage.deviceSentMessage


documentMessage?

optional documentMessage: null | IDocumentMessage

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

Implementation of

IMessage.documentMessage


documentWithCaptionMessage?

optional documentWithCaptionMessage: null | IFutureProofMessage

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

Implementation of

IMessage.documentWithCaptionMessage


editedMessage?

optional editedMessage: null | IFutureProofMessage

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

Implementation of

IMessage.editedMessage


encCommentMessage?

optional encCommentMessage: null | IEncCommentMessage

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

Implementation of

IMessage.encCommentMessage


encEventResponseMessage?

optional encEventResponseMessage: null | IEncEventResponseMessage

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

Implementation of

IMessage.encEventResponseMessage


encReactionMessage?

optional encReactionMessage: null | IEncReactionMessage

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

Implementation of

IMessage.encReactionMessage


ephemeralMessage?

optional ephemeralMessage: null | IFutureProofMessage

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

Implementation of

IMessage.ephemeralMessage


eventCoverImage?

optional eventCoverImage: null | IFutureProofMessage

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

Implementation of

IMessage.eventCoverImage


eventInviteMessage?

optional eventInviteMessage: null | IEventInviteMessage

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

Implementation of

IMessage.eventInviteMessage


eventMessage?

optional eventMessage: null | IEventMessage

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

Implementation of

IMessage.eventMessage


extendedTextMessage?

optional extendedTextMessage: null | IExtendedTextMessage

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

Implementation of

IMessage.extendedTextMessage


fastRatchetKeySenderKeyDistributionMessage?

optional fastRatchetKeySenderKeyDistributionMessage: null | ISenderKeyDistributionMessage

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

Implementation of

IMessage.fastRatchetKeySenderKeyDistributionMessage


groupInviteMessage?

optional groupInviteMessage: null | IGroupInviteMessage

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

Implementation of

IMessage.groupInviteMessage


groupMentionedMessage?

optional groupMentionedMessage: null | IFutureProofMessage

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

Implementation of

IMessage.groupMentionedMessage


groupRootKeyShare?

optional groupRootKeyShare: null | IGroupRootKeyShare

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

Implementation of

IMessage.groupRootKeyShare


groupStatusMentionMessage?

optional groupStatusMentionMessage: null | IFutureProofMessage

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

Implementation of

IMessage.groupStatusMentionMessage


groupStatusMessage?

optional groupStatusMessage: null | IFutureProofMessage

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

Implementation of

IMessage.groupStatusMessage


groupStatusMessageV2?

optional groupStatusMessageV2: null | IFutureProofMessage

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

Implementation of

IMessage.groupStatusMessageV2


highlyStructuredMessage?

optional highlyStructuredMessage: null | IHighlyStructuredMessage

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

Implementation of

IMessage.highlyStructuredMessage


imageMessage?

optional imageMessage: null | IImageMessage

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

Implementation of

IMessage.imageMessage


interactiveMessage?

optional interactiveMessage: null | IInteractiveMessage

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

Implementation of

IMessage.interactiveMessage


interactiveResponseMessage?

optional interactiveResponseMessage: null | IInteractiveResponseMessage

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

Implementation of

IMessage.interactiveResponseMessage


invoiceMessage?

optional invoiceMessage: null | IInvoiceMessage

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

Implementation of

IMessage.invoiceMessage


keepInChatMessage?

optional keepInChatMessage: null | IKeepInChatMessage

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

Implementation of

IMessage.keepInChatMessage


limitSharingMessage?

optional limitSharingMessage: null | IFutureProofMessage

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

Implementation of

IMessage.limitSharingMessage


listMessage?

optional listMessage: null | IListMessage

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

Implementation of

IMessage.listMessage


listResponseMessage?

optional listResponseMessage: null | IListResponseMessage

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

Implementation of

IMessage.listResponseMessage


liveLocationMessage?

optional liveLocationMessage: null | ILiveLocationMessage

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

Implementation of

IMessage.liveLocationMessage


locationMessage?

optional locationMessage: null | ILocationMessage

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

Implementation of

IMessage.locationMessage


lottieStickerMessage?

optional lottieStickerMessage: null | IFutureProofMessage

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

Implementation of

IMessage.lottieStickerMessage


messageContextInfo?

optional messageContextInfo: null | IMessageContextInfo

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

Implementation of

IMessage.messageContextInfo


messageHistoryBundle?

optional messageHistoryBundle: null | IMessageHistoryBundle

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

Implementation of

IMessage.messageHistoryBundle


messageHistoryNotice?

optional messageHistoryNotice: null | IMessageHistoryNotice

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

Implementation of

IMessage.messageHistoryNotice


newsletterAdminInviteMessage?

optional newsletterAdminInviteMessage: null | INewsletterAdminInviteMessage

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

Implementation of

IMessage.newsletterAdminInviteMessage


newsletterAdminProfileMessage?

optional newsletterAdminProfileMessage: null | IFutureProofMessage

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

Implementation of

IMessage.newsletterAdminProfileMessage


newsletterAdminProfileMessageV2?

optional newsletterAdminProfileMessageV2: null | IFutureProofMessage

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

Implementation of

IMessage.newsletterAdminProfileMessageV2


newsletterAdminProfileStatusMessage?

optional newsletterAdminProfileStatusMessage: null | IFutureProofMessage

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

Implementation of

IMessage.newsletterAdminProfileStatusMessage


newsletterFollowerInviteMessageV2?

optional newsletterFollowerInviteMessageV2: null | INewsletterFollowerInviteMessage

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

Implementation of

IMessage.newsletterFollowerInviteMessageV2


orderMessage?

optional orderMessage: null | IOrderMessage

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

Implementation of

IMessage.orderMessage


paymentInviteMessage?

optional paymentInviteMessage: null | IPaymentInviteMessage

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

Implementation of

IMessage.paymentInviteMessage


paymentReminderMessage?

optional paymentReminderMessage: null | IPaymentReminderMessage

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

Implementation of

IMessage.paymentReminderMessage


pinInChatMessage?

optional pinInChatMessage: null | IPinInChatMessage

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

Implementation of

IMessage.pinInChatMessage


placeholderMessage?

optional placeholderMessage: null | IPlaceholderMessage

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

Implementation of

IMessage.placeholderMessage


pollAddOptionMessage?

optional pollAddOptionMessage: null | IPollAddOptionMessage

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

Implementation of

IMessage.pollAddOptionMessage


pollCreationMessage?

optional pollCreationMessage: null | IPollCreationMessage

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

Implementation of

IMessage.pollCreationMessage


pollCreationMessageV2?

optional pollCreationMessageV2: null | IPollCreationMessage

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

Implementation of

IMessage.pollCreationMessageV2


pollCreationMessageV3?

optional pollCreationMessageV3: null | IPollCreationMessage

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

Implementation of

IMessage.pollCreationMessageV3


pollCreationMessageV4?

optional pollCreationMessageV4: null | IFutureProofMessage

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

Implementation of

IMessage.pollCreationMessageV4


pollCreationMessageV5?

optional pollCreationMessageV5: null | IPollCreationMessage

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

Implementation of

IMessage.pollCreationMessageV5


pollCreationMessageV6?

optional pollCreationMessageV6: null | IPollCreationMessage

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

Implementation of

IMessage.pollCreationMessageV6


pollCreationOptionImageMessage?

optional pollCreationOptionImageMessage: null | IFutureProofMessage

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

Implementation of

IMessage.pollCreationOptionImageMessage


pollResultSnapshotMessage?

optional pollResultSnapshotMessage: null | IPollResultSnapshotMessage

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

Implementation of

IMessage.pollResultSnapshotMessage


pollResultSnapshotMessageV3?

optional pollResultSnapshotMessageV3: null | IPollResultSnapshotMessage

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

Implementation of

IMessage.pollResultSnapshotMessageV3


pollUpdateMessage?

optional pollUpdateMessage: null | IPollUpdateMessage

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

Implementation of

IMessage.pollUpdateMessage


productMessage?

optional productMessage: null | IProductMessage

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

Implementation of

IMessage.productMessage


protocolMessage?

optional protocolMessage: null | IProtocolMessage

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

Implementation of

IMessage.protocolMessage


ptvMessage?

optional ptvMessage: null | IVideoMessage

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

Implementation of

IMessage.ptvMessage


questionMessage?

optional questionMessage: null | IFutureProofMessage

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

Implementation of

IMessage.questionMessage


questionReplyMessage?

optional questionReplyMessage: null | IFutureProofMessage

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

Implementation of

IMessage.questionReplyMessage


questionResponseMessage?

optional questionResponseMessage: null | IQuestionResponseMessage

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

Implementation of

IMessage.questionResponseMessage


reactionMessage?

optional reactionMessage: null | IReactionMessage

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

Implementation of

IMessage.reactionMessage


requestPaymentMessage?

optional requestPaymentMessage: null | IRequestPaymentMessage

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

Implementation of

IMessage.requestPaymentMessage


requestPhoneNumberMessage?

optional requestPhoneNumberMessage: null | IRequestPhoneNumberMessage

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

Implementation of

IMessage.requestPhoneNumberMessage


richResponseMessage?

optional richResponseMessage: null | IAIRichResponseMessage

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

Implementation of

IMessage.richResponseMessage


scheduledCallCreationMessage?

optional scheduledCallCreationMessage: null | IScheduledCallCreationMessage

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

Implementation of

IMessage.scheduledCallCreationMessage


scheduledCallEditMessage?

optional scheduledCallEditMessage: null | IScheduledCallEditMessage

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

Implementation of

IMessage.scheduledCallEditMessage


secretEncryptedMessage?

optional secretEncryptedMessage: null | ISecretEncryptedMessage

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

Implementation of

IMessage.secretEncryptedMessage


senderKeyDistributionMessage?

optional senderKeyDistributionMessage: null | ISenderKeyDistributionMessage

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

Implementation of

IMessage.senderKeyDistributionMessage


sendPaymentMessage?

optional sendPaymentMessage: null | ISendPaymentMessage

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

Implementation of

IMessage.sendPaymentMessage


splitPaymentMessage?

optional splitPaymentMessage: null | ISplitPaymentMessage

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

Implementation of

IMessage.splitPaymentMessage


spoilerMessage?

optional spoilerMessage: null | IFutureProofMessage

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

Implementation of

IMessage.spoilerMessage


statusAddYours?

optional statusAddYours: null | IFutureProofMessage

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

Implementation of

IMessage.statusAddYours


statusMentionMessage?

optional statusMentionMessage: null | IFutureProofMessage

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

Implementation of

IMessage.statusMentionMessage


statusNotificationMessage?

optional statusNotificationMessage: null | IStatusNotificationMessage

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

Implementation of

IMessage.statusNotificationMessage


statusQuestionAnswerMessage?

optional statusQuestionAnswerMessage: null | IStatusQuestionAnswerMessage

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

Implementation of

IMessage.statusQuestionAnswerMessage


statusQuotedMessage?

optional statusQuotedMessage: null | IStatusQuotedMessage

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

Implementation of

IMessage.statusQuotedMessage


statusStickerInteractionMessage?

optional statusStickerInteractionMessage: null | IStatusStickerInteractionMessage

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

Implementation of

IMessage.statusStickerInteractionMessage


stickerMessage?

optional stickerMessage: null | IStickerMessage

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

Implementation of

IMessage.stickerMessage


stickerPackMessage?

optional stickerPackMessage: null | IStickerPackMessage

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

Implementation of

IMessage.stickerPackMessage


stickerSyncRmrMessage?

optional stickerSyncRmrMessage: null | IStickerSyncRMRMessage

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

Implementation of

IMessage.stickerSyncRmrMessage


templateButtonReplyMessage?

optional templateButtonReplyMessage: null | ITemplateButtonReplyMessage

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

Implementation of

IMessage.templateButtonReplyMessage


templateMessage?

optional templateMessage: null | ITemplateMessage

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

Implementation of

IMessage.templateMessage


videoMessage?

optional videoMessage: null | IVideoMessage

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

Implementation of

IMessage.videoMessage


viewOnceMessage?

optional viewOnceMessage: null | IFutureProofMessage

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

Implementation of

IMessage.viewOnceMessage


viewOnceMessageV2?

optional viewOnceMessageV2: null | IFutureProofMessage

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

Implementation of

IMessage.viewOnceMessageV2


viewOnceMessageV2Extension?

optional viewOnceMessageV2Extension: 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()

static create(properties?): Message

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

Parameters

properties?

IMessage

Returns

Message


decode()

static decode(r, l?): Message

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

Message


encode()

static encode(m, w?): Writer

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

Parameters

m

IMessage

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): Message

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

Parameters

d

Returns

Message


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

Message

o?

IConversionOptions

Returns

object