Skip to main content

Class: WebMessageInfo

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

Represents a WebMessageInfo.

Implements

Constructors

new WebMessageInfo()

new WebMessageInfo(properties?): WebMessageInfo

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

Constructs a new WebMessageInfo.

Parameters

properties?

IWebMessageInfo

Properties to set

Returns

WebMessageInfo

Properties

agentId?

optional agentId: null | string

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

WebMessageInfo agentId.

Implementation of

IWebMessageInfo.agentId


bizPrivacyStatus?

optional bizPrivacyStatus: null | BizPrivacyStatus

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

WebMessageInfo bizPrivacyStatus.

Implementation of

IWebMessageInfo.bizPrivacyStatus


botMessageInvokerJid?

optional botMessageInvokerJid: null | string

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

WebMessageInfo botMessageInvokerJid.

Implementation of

IWebMessageInfo.botMessageInvokerJid


botTargetId?

optional botTargetId: null | string

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

WebMessageInfo botTargetId.

Implementation of

IWebMessageInfo.botTargetId


broadcast?

optional broadcast: null | boolean

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

WebMessageInfo broadcast.

Implementation of

IWebMessageInfo.broadcast


clearMedia?

optional clearMedia: null | boolean

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

WebMessageInfo clearMedia.

Implementation of

IWebMessageInfo.clearMedia


commentMetadata?

optional commentMetadata: null | ICommentMetadata

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

WebMessageInfo commentMetadata.

Implementation of

IWebMessageInfo.commentMetadata


duration?

optional duration: null | number

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

WebMessageInfo duration.

Implementation of

IWebMessageInfo.duration


ephemeralDuration?

optional ephemeralDuration: null | number

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

WebMessageInfo ephemeralDuration.

Implementation of

IWebMessageInfo.ephemeralDuration


ephemeralOffToOn?

optional ephemeralOffToOn: null | boolean

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

WebMessageInfo ephemeralOffToOn.

Implementation of

IWebMessageInfo.ephemeralOffToOn


ephemeralOutOfSync?

optional ephemeralOutOfSync: null | boolean

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

WebMessageInfo ephemeralOutOfSync.

Implementation of

IWebMessageInfo.ephemeralOutOfSync


ephemeralStartTimestamp?

optional ephemeralStartTimestamp: null | number | Long

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

WebMessageInfo ephemeralStartTimestamp.

Implementation of

IWebMessageInfo.ephemeralStartTimestamp


eventAdditionalMetadata?

optional eventAdditionalMetadata: null | IEventAdditionalMetadata

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

WebMessageInfo eventAdditionalMetadata.

Implementation of

IWebMessageInfo.eventAdditionalMetadata


eventResponses

eventResponses: IEventResponse[]

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

WebMessageInfo eventResponses.

Implementation of

IWebMessageInfo.eventResponses


finalLiveLocation?

optional finalLiveLocation: null | ILiveLocationMessage

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

WebMessageInfo finalLiveLocation.

Implementation of

IWebMessageInfo.finalLiveLocation


futureproofData?

optional futureproofData: null | Uint8Array<ArrayBufferLike>

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

WebMessageInfo futureproofData.

Implementation of

IWebMessageInfo.futureproofData


ignore?

optional ignore: null | boolean

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

WebMessageInfo ignore.

Implementation of

IWebMessageInfo.ignore


is1PBizBotMessage?

optional is1PBizBotMessage: null | boolean

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

WebMessageInfo is1PBizBotMessage.

Implementation of

IWebMessageInfo.is1PBizBotMessage


isGroupHistoryMessage?

optional isGroupHistoryMessage: null | boolean

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

WebMessageInfo isGroupHistoryMessage.

Implementation of

IWebMessageInfo.isGroupHistoryMessage


isMentionedInStatus?

optional isMentionedInStatus: null | boolean

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

WebMessageInfo isMentionedInStatus.

Implementation of

IWebMessageInfo.isMentionedInStatus


isSupportAiMessage?

optional isSupportAiMessage: null | boolean

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

WebMessageInfo isSupportAiMessage.

Implementation of

IWebMessageInfo.isSupportAiMessage


keepInChat?

optional keepInChat: null | IKeepInChat

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

WebMessageInfo keepInChat.

Implementation of

IWebMessageInfo.keepInChat


key

key: IMessageKey

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

WebMessageInfo key.

Implementation of

IWebMessageInfo.key


labels

labels: string[]

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

WebMessageInfo labels.

Implementation of

IWebMessageInfo.labels


mediaCiphertextSha256?

optional mediaCiphertextSha256: null | Uint8Array<ArrayBufferLike>

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

WebMessageInfo mediaCiphertextSha256.

Implementation of

IWebMessageInfo.mediaCiphertextSha256


mediaData?

optional mediaData: null | IMediaData

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

WebMessageInfo mediaData.

Implementation of

IWebMessageInfo.mediaData


message?

optional message: null | IMessage

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

WebMessageInfo message.

Implementation of

IWebMessageInfo.message


messageAddOns

messageAddOns: IMessageAddOn[]

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

WebMessageInfo messageAddOns.

Implementation of

IWebMessageInfo.messageAddOns


messageC2STimestamp?

optional messageC2STimestamp: null | number | Long

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

WebMessageInfo messageC2STimestamp.

Implementation of

IWebMessageInfo.messageC2STimestamp


messageSecret?

optional messageSecret: null | Uint8Array<ArrayBufferLike>

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

WebMessageInfo messageSecret.

Implementation of

IWebMessageInfo.messageSecret


messageStubParameters

messageStubParameters: string[]

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

WebMessageInfo messageStubParameters.

Implementation of

IWebMessageInfo.messageStubParameters


messageStubType?

optional messageStubType: null | StubType

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

WebMessageInfo messageStubType.

Implementation of

IWebMessageInfo.messageStubType


messageTimestamp?

optional messageTimestamp: null | number | Long

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

WebMessageInfo messageTimestamp.

Implementation of

IWebMessageInfo.messageTimestamp


multicast?

optional multicast: null | boolean

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

WebMessageInfo multicast.

Implementation of

IWebMessageInfo.multicast


newsletterServerId?

optional newsletterServerId: null | number | Long

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

WebMessageInfo newsletterServerId.

Implementation of

IWebMessageInfo.newsletterServerId


originalSelfAuthorUserJidString?

optional originalSelfAuthorUserJidString: null | string

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

WebMessageInfo originalSelfAuthorUserJidString.

Implementation of

IWebMessageInfo.originalSelfAuthorUserJidString


participant?

optional participant: null | string

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

WebMessageInfo participant.

Implementation of

IWebMessageInfo.participant


paymentInfo?

optional paymentInfo: null | IPaymentInfo

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

WebMessageInfo paymentInfo.

Implementation of

IWebMessageInfo.paymentInfo


photoChange?

optional photoChange: null | IPhotoChange

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

WebMessageInfo photoChange.

Implementation of

IWebMessageInfo.photoChange


pinInChat?

optional pinInChat: null | IPinInChat

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

WebMessageInfo pinInChat.

Implementation of

IWebMessageInfo.pinInChat


pollAdditionalMetadata?

optional pollAdditionalMetadata: null | IPollAdditionalMetadata

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

WebMessageInfo pollAdditionalMetadata.

Implementation of

IWebMessageInfo.pollAdditionalMetadata


pollUpdates

pollUpdates: IPollUpdate[]

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

WebMessageInfo pollUpdates.

Implementation of

IWebMessageInfo.pollUpdates


premiumMessageInfo?

optional premiumMessageInfo: null | IPremiumMessageInfo

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

WebMessageInfo premiumMessageInfo.

Implementation of

IWebMessageInfo.premiumMessageInfo


pushName?

optional pushName: null | string

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

WebMessageInfo pushName.

Implementation of

IWebMessageInfo.pushName


quotedPaymentInfo?

optional quotedPaymentInfo: null | IPaymentInfo

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

WebMessageInfo quotedPaymentInfo.

Implementation of

IWebMessageInfo.quotedPaymentInfo


quotedStickerData?

optional quotedStickerData: null | IMediaData

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

WebMessageInfo quotedStickerData.

Implementation of

IWebMessageInfo.quotedStickerData


reactions

reactions: IReaction[]

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

WebMessageInfo reactions.

Implementation of

IWebMessageInfo.reactions


reportingTokenInfo?

optional reportingTokenInfo: null | IReportingTokenInfo

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

WebMessageInfo reportingTokenInfo.

Implementation of

IWebMessageInfo.reportingTokenInfo


revokeMessageTimestamp?

optional revokeMessageTimestamp: null | number | Long

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

WebMessageInfo revokeMessageTimestamp.

Implementation of

IWebMessageInfo.revokeMessageTimestamp


starred?

optional starred: null | boolean

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

WebMessageInfo starred.

Implementation of

IWebMessageInfo.starred


status?

optional status: null | Status

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

WebMessageInfo status.

Implementation of

IWebMessageInfo.status


statusAlreadyViewed?

optional statusAlreadyViewed: null | boolean

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

WebMessageInfo statusAlreadyViewed.

Implementation of

IWebMessageInfo.statusAlreadyViewed


statusMentionMessageInfo?

optional statusMentionMessageInfo: null | IStatusMentionMessage

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

WebMessageInfo statusMentionMessageInfo.

Implementation of

IWebMessageInfo.statusMentionMessageInfo


statusMentions

statusMentions: string[]

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

WebMessageInfo statusMentions.

Implementation of

IWebMessageInfo.statusMentions


statusMentionSources

statusMentionSources: string[]

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

WebMessageInfo statusMentionSources.

Implementation of

IWebMessageInfo.statusMentionSources


statusPsa?

optional statusPsa: null | IStatusPSA

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

WebMessageInfo statusPsa.

Implementation of

IWebMessageInfo.statusPsa


supportAiCitations

supportAiCitations: ICitation[]

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

WebMessageInfo supportAiCitations.

Implementation of

IWebMessageInfo.supportAiCitations


targetMessageId?

optional targetMessageId: null | IMessageKey

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

WebMessageInfo targetMessageId.

Implementation of

IWebMessageInfo.targetMessageId


urlNumber?

optional urlNumber: null | boolean

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

WebMessageInfo urlNumber.

Implementation of

IWebMessageInfo.urlNumber


urlText?

optional urlText: null | boolean

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

WebMessageInfo urlText.

Implementation of

IWebMessageInfo.urlText


userReceipt

userReceipt: IUserReceipt[]

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

WebMessageInfo userReceipt.

Implementation of

IWebMessageInfo.userReceipt


verifiedBizName?

optional verifiedBizName: null | string

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

WebMessageInfo verifiedBizName.

Implementation of

IWebMessageInfo.verifiedBizName

Methods

toJSON()

toJSON(): object

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

Converts this WebMessageInfo to JSON.

Returns

object

JSON object


create()

static create(properties?): WebMessageInfo

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

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:53068

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:53077

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:53050

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:53058

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:53091

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:53112

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:53099

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:53084

Verifies a WebMessageInfo message.

Parameters

message

Plain object to verify

Returns

null | string

null if valid, otherwise the reason why it is not