Skip to main content

Class: WebMessageInfo

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

Represents a WebMessageInfo.

Implements

Constructors

new WebMessageInfo()

new WebMessageInfo(properties?): WebMessageInfo

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

Constructs a new WebMessageInfo.

Parameters

properties?

IWebMessageInfo

Properties to set

Returns

WebMessageInfo

Properties

agentId?

optional agentId: null | string

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

WebMessageInfo agentId.

Implementation of

IWebMessageInfo.agentId


bizPrivacyStatus?

optional bizPrivacyStatus: null | BizPrivacyStatus

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

WebMessageInfo bizPrivacyStatus.

Implementation of

IWebMessageInfo.bizPrivacyStatus


botMessageInvokerJid?

optional botMessageInvokerJid: null | string

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

WebMessageInfo botMessageInvokerJid.

Implementation of

IWebMessageInfo.botMessageInvokerJid


botTargetId?

optional botTargetId: null | string

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

WebMessageInfo botTargetId.

Implementation of

IWebMessageInfo.botTargetId


broadcast?

optional broadcast: null | boolean

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

WebMessageInfo broadcast.

Implementation of

IWebMessageInfo.broadcast


clearMedia?

optional clearMedia: null | boolean

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

WebMessageInfo clearMedia.

Implementation of

IWebMessageInfo.clearMedia


commentMetadata?

optional commentMetadata: null | ICommentMetadata

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

WebMessageInfo commentMetadata.

Implementation of

IWebMessageInfo.commentMetadata


duration?

optional duration: null | number

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

WebMessageInfo duration.

Implementation of

IWebMessageInfo.duration


ephemeralDuration?

optional ephemeralDuration: null | number

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

WebMessageInfo ephemeralDuration.

Implementation of

IWebMessageInfo.ephemeralDuration


ephemeralOffToOn?

optional ephemeralOffToOn: null | boolean

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

WebMessageInfo ephemeralOffToOn.

Implementation of

IWebMessageInfo.ephemeralOffToOn


ephemeralOutOfSync?

optional ephemeralOutOfSync: null | boolean

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

WebMessageInfo ephemeralOutOfSync.

Implementation of

IWebMessageInfo.ephemeralOutOfSync


ephemeralStartTimestamp?

optional ephemeralStartTimestamp: null | number | Long

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

WebMessageInfo ephemeralStartTimestamp.

Implementation of

IWebMessageInfo.ephemeralStartTimestamp


eventAdditionalMetadata?

optional eventAdditionalMetadata: null | IEventAdditionalMetadata

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

WebMessageInfo eventAdditionalMetadata.

Implementation of

IWebMessageInfo.eventAdditionalMetadata


eventResponses

eventResponses: IEventResponse[]

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

WebMessageInfo eventResponses.

Implementation of

IWebMessageInfo.eventResponses


finalLiveLocation?

optional finalLiveLocation: null | ILiveLocationMessage

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

WebMessageInfo finalLiveLocation.

Implementation of

IWebMessageInfo.finalLiveLocation


futureproofData?

optional futureproofData: null | Uint8Array<ArrayBufferLike>

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

WebMessageInfo futureproofData.

Implementation of

IWebMessageInfo.futureproofData


ignore?

optional ignore: null | boolean

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

WebMessageInfo ignore.

Implementation of

IWebMessageInfo.ignore


is1PBizBotMessage?

optional is1PBizBotMessage: null | boolean

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

WebMessageInfo is1PBizBotMessage.

Implementation of

IWebMessageInfo.is1PBizBotMessage


isGroupHistoryMessage?

optional isGroupHistoryMessage: null | boolean

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

WebMessageInfo isGroupHistoryMessage.

Implementation of

IWebMessageInfo.isGroupHistoryMessage


isMentionedInStatus?

optional isMentionedInStatus: null | boolean

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

WebMessageInfo isMentionedInStatus.

Implementation of

IWebMessageInfo.isMentionedInStatus


isSupportAiMessage?

optional isSupportAiMessage: null | boolean

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

WebMessageInfo isSupportAiMessage.

Implementation of

IWebMessageInfo.isSupportAiMessage


keepInChat?

optional keepInChat: null | IKeepInChat

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

WebMessageInfo keepInChat.

Implementation of

IWebMessageInfo.keepInChat


key

key: IMessageKey

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

WebMessageInfo key.

Implementation of

IWebMessageInfo.key


labels

labels: string[]

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

WebMessageInfo labels.

Implementation of

IWebMessageInfo.labels


mediaCiphertextSha256?

optional mediaCiphertextSha256: null | Uint8Array<ArrayBufferLike>

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

WebMessageInfo mediaCiphertextSha256.

Implementation of

IWebMessageInfo.mediaCiphertextSha256


mediaData?

optional mediaData: null | IMediaData

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

WebMessageInfo mediaData.

Implementation of

IWebMessageInfo.mediaData


message?

optional message: null | IMessage

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

WebMessageInfo message.

Implementation of

IWebMessageInfo.message


messageAddOns

messageAddOns: IMessageAddOn[]

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

WebMessageInfo messageAddOns.

Implementation of

IWebMessageInfo.messageAddOns


messageC2STimestamp?

optional messageC2STimestamp: null | number | Long

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

WebMessageInfo messageC2STimestamp.

Implementation of

IWebMessageInfo.messageC2STimestamp


messageSecret?

optional messageSecret: null | Uint8Array<ArrayBufferLike>

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

WebMessageInfo messageSecret.

Implementation of

IWebMessageInfo.messageSecret


messageStubParameters

messageStubParameters: string[]

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

WebMessageInfo messageStubParameters.

Implementation of

IWebMessageInfo.messageStubParameters


messageStubType?

optional messageStubType: null | StubType

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

WebMessageInfo messageStubType.

Implementation of

IWebMessageInfo.messageStubType


messageTimestamp?

optional messageTimestamp: null | number | Long

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

WebMessageInfo messageTimestamp.

Implementation of

IWebMessageInfo.messageTimestamp


multicast?

optional multicast: null | boolean

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

WebMessageInfo multicast.

Implementation of

IWebMessageInfo.multicast


newsletterServerId?

optional newsletterServerId: null | number | Long

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

WebMessageInfo newsletterServerId.

Implementation of

IWebMessageInfo.newsletterServerId


originalSelfAuthorUserJidString?

optional originalSelfAuthorUserJidString: null | string

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

WebMessageInfo originalSelfAuthorUserJidString.

Implementation of

IWebMessageInfo.originalSelfAuthorUserJidString


participant?

optional participant: null | string

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

WebMessageInfo participant.

Implementation of

IWebMessageInfo.participant


paymentInfo?

optional paymentInfo: null | IPaymentInfo

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

WebMessageInfo paymentInfo.

Implementation of

IWebMessageInfo.paymentInfo


photoChange?

optional photoChange: null | IPhotoChange

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

WebMessageInfo photoChange.

Implementation of

IWebMessageInfo.photoChange


pinInChat?

optional pinInChat: null | IPinInChat

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

WebMessageInfo pinInChat.

Implementation of

IWebMessageInfo.pinInChat


pollAdditionalMetadata?

optional pollAdditionalMetadata: null | IPollAdditionalMetadata

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

WebMessageInfo pollAdditionalMetadata.

Implementation of

IWebMessageInfo.pollAdditionalMetadata


pollUpdates

pollUpdates: IPollUpdate[]

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

WebMessageInfo pollUpdates.

Implementation of

IWebMessageInfo.pollUpdates


premiumMessageInfo?

optional premiumMessageInfo: null | IPremiumMessageInfo

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

WebMessageInfo premiumMessageInfo.

Implementation of

IWebMessageInfo.premiumMessageInfo


pushName?

optional pushName: null | string

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

WebMessageInfo pushName.

Implementation of

IWebMessageInfo.pushName


quotedPaymentInfo?

optional quotedPaymentInfo: null | IPaymentInfo

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

WebMessageInfo quotedPaymentInfo.

Implementation of

IWebMessageInfo.quotedPaymentInfo


quotedStickerData?

optional quotedStickerData: null | IMediaData

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

WebMessageInfo quotedStickerData.

Implementation of

IWebMessageInfo.quotedStickerData


reactions

reactions: IReaction[]

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

WebMessageInfo reactions.

Implementation of

IWebMessageInfo.reactions


reportingTokenInfo?

optional reportingTokenInfo: null | IReportingTokenInfo

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

WebMessageInfo reportingTokenInfo.

Implementation of

IWebMessageInfo.reportingTokenInfo


revokeMessageTimestamp?

optional revokeMessageTimestamp: null | number | Long

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

WebMessageInfo revokeMessageTimestamp.

Implementation of

IWebMessageInfo.revokeMessageTimestamp


starred?

optional starred: null | boolean

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

WebMessageInfo starred.

Implementation of

IWebMessageInfo.starred


status?

optional status: null | Status

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

WebMessageInfo status.

Implementation of

IWebMessageInfo.status


statusAlreadyViewed?

optional statusAlreadyViewed: null | boolean

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

WebMessageInfo statusAlreadyViewed.

Implementation of

IWebMessageInfo.statusAlreadyViewed


statusMentionMessageInfo?

optional statusMentionMessageInfo: null | IStatusMentionMessage

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

WebMessageInfo statusMentionMessageInfo.

Implementation of

IWebMessageInfo.statusMentionMessageInfo


statusMentions

statusMentions: string[]

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

WebMessageInfo statusMentions.

Implementation of

IWebMessageInfo.statusMentions


statusMentionSources

statusMentionSources: string[]

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

WebMessageInfo statusMentionSources.

Implementation of

IWebMessageInfo.statusMentionSources


statusPsa?

optional statusPsa: null | IStatusPSA

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

WebMessageInfo statusPsa.

Implementation of

IWebMessageInfo.statusPsa


supportAiCitations

supportAiCitations: ICitation[]

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

WebMessageInfo supportAiCitations.

Implementation of

IWebMessageInfo.supportAiCitations


targetMessageId?

optional targetMessageId: null | IMessageKey

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

WebMessageInfo targetMessageId.

Implementation of

IWebMessageInfo.targetMessageId


urlNumber?

optional urlNumber: null | boolean

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

WebMessageInfo urlNumber.

Implementation of

IWebMessageInfo.urlNumber


urlText?

optional urlText: null | boolean

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

WebMessageInfo urlText.

Implementation of

IWebMessageInfo.urlText


userReceipt

userReceipt: IUserReceipt[]

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

WebMessageInfo userReceipt.

Implementation of

IWebMessageInfo.userReceipt


verifiedBizName?

optional verifiedBizName: null | string

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

WebMessageInfo verifiedBizName.

Implementation of

IWebMessageInfo.verifiedBizName

Methods

toJSON()

toJSON(): object

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

Converts this WebMessageInfo to JSON.

Returns

object

JSON object


create()

static create(properties?): WebMessageInfo

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

Creates a new WebMessageInfo instance using the specified properties.

Parameters

properties?

IWebMessageInfo

Properties to set

Returns

WebMessageInfo

WebMessageInfo instance


decode()

static decode(reader, length?): WebMessageInfo

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

Decodes a WebMessageInfo message from the specified reader or buffer.

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

length?

number

Message length if known beforehand

Returns

WebMessageInfo

WebMessageInfo

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited()

static decodeDelimited(reader): WebMessageInfo

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

Decodes a WebMessageInfo message from the specified reader or buffer, length delimited.

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

Returns

WebMessageInfo

WebMessageInfo

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode()

static encode(message, writer?): Writer

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

Encodes the specified WebMessageInfo message. Does not implicitly verify messages.

Parameters

message

IWebMessageInfo

WebMessageInfo message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


encodeDelimited()

static encodeDelimited(message, writer?): Writer

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

Encodes the specified WebMessageInfo message, length delimited. Does not implicitly verify messages.

Parameters

message

IWebMessageInfo

WebMessageInfo message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


fromObject()

static fromObject(object): WebMessageInfo

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

Creates a WebMessageInfo message from a plain object. Also converts values to their respective internal types.

Parameters

object

Plain object

Returns

WebMessageInfo

WebMessageInfo


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Gets the default type url for WebMessageInfo

Parameters

typeUrlPrefix?

string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject()

static toObject(message, options?): object

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

Creates a plain object from a WebMessageInfo message. Also converts values to other types if specified.

Parameters

message

WebMessageInfo

WebMessageInfo

options?

IConversionOptions

Conversion options

Returns

object

Plain object


verify()

static verify(message): null | string

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

Verifies a WebMessageInfo message.

Parameters

message

Plain object to verify

Returns

null | string

null if valid, otherwise the reason why it is not