Skip to main content

Class: ContextInfo

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

Represents a ContextInfo.

Implements

Constructors

new ContextInfo()

new ContextInfo(properties?): ContextInfo

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

Constructs a new ContextInfo.

Parameters

properties?

IContextInfo

Properties to set

Returns

ContextInfo

Properties

optional actionLink: null | IActionLink

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

ContextInfo actionLink.

Implementation of

IContextInfo.actionLink


alwaysShowAdAttribution?

optional alwaysShowAdAttribution: null | boolean

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

ContextInfo alwaysShowAdAttribution.

Implementation of

IContextInfo.alwaysShowAdAttribution


businessMessageForwardInfo?

optional businessMessageForwardInfo: null | IBusinessMessageForwardInfo

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

ContextInfo businessMessageForwardInfo.

Implementation of

IContextInfo.businessMessageForwardInfo


conversionData?

optional conversionData: null | Uint8Array<ArrayBufferLike>

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

ContextInfo conversionData.

Implementation of

IContextInfo.conversionData


conversionDelaySeconds?

optional conversionDelaySeconds: null | number

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

ContextInfo conversionDelaySeconds.

Implementation of

IContextInfo.conversionDelaySeconds


conversionSource?

optional conversionSource: null | string

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

ContextInfo conversionSource.

Implementation of

IContextInfo.conversionSource


ctwaPayload?

optional ctwaPayload: null | Uint8Array<ArrayBufferLike>

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

ContextInfo ctwaPayload.

Implementation of

IContextInfo.ctwaPayload


ctwaSignals?

optional ctwaSignals: null | string

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

ContextInfo ctwaSignals.

Implementation of

IContextInfo.ctwaSignals


dataSharingContext?

optional dataSharingContext: null | IDataSharingContext

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

ContextInfo dataSharingContext.

Implementation of

IContextInfo.dataSharingContext


disappearingMode?

optional disappearingMode: null | IDisappearingMode

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

ContextInfo disappearingMode.

Implementation of

IContextInfo.disappearingMode


entryPointConversionApp?

optional entryPointConversionApp: null | string

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

ContextInfo entryPointConversionApp.

Implementation of

IContextInfo.entryPointConversionApp


entryPointConversionDelaySeconds?

optional entryPointConversionDelaySeconds: null | number

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

ContextInfo entryPointConversionDelaySeconds.

Implementation of

IContextInfo.entryPointConversionDelaySeconds


entryPointConversionExternalMedium?

optional entryPointConversionExternalMedium: null | string

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

ContextInfo entryPointConversionExternalMedium.

Implementation of

IContextInfo.entryPointConversionExternalMedium


entryPointConversionExternalSource?

optional entryPointConversionExternalSource: null | string

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

ContextInfo entryPointConversionExternalSource.

Implementation of

IContextInfo.entryPointConversionExternalSource


entryPointConversionSource?

optional entryPointConversionSource: null | string

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

ContextInfo entryPointConversionSource.

Implementation of

IContextInfo.entryPointConversionSource


ephemeralSettingTimestamp?

optional ephemeralSettingTimestamp: null | number | Long

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

ContextInfo ephemeralSettingTimestamp.

Implementation of

IContextInfo.ephemeralSettingTimestamp


ephemeralSharedSecret?

optional ephemeralSharedSecret: null | Uint8Array<ArrayBufferLike>

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

ContextInfo ephemeralSharedSecret.

Implementation of

IContextInfo.ephemeralSharedSecret


expiration?

optional expiration: null | number

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

ContextInfo expiration.

Implementation of

IContextInfo.expiration


externalAdReply?

optional externalAdReply: null | IExternalAdReplyInfo

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

ContextInfo externalAdReply.

Implementation of

IContextInfo.externalAdReply


featureEligibilities?

optional featureEligibilities: null | IFeatureEligibilities

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

ContextInfo featureEligibilities.

Implementation of

IContextInfo.featureEligibilities


forwardedAiBotMessageInfo?

optional forwardedAiBotMessageInfo: null | IForwardedAIBotMessageInfo

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

ContextInfo forwardedAiBotMessageInfo.

Implementation of

IContextInfo.forwardedAiBotMessageInfo


forwardedNewsletterMessageInfo?

optional forwardedNewsletterMessageInfo: null | IForwardedNewsletterMessageInfo

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

ContextInfo forwardedNewsletterMessageInfo.

Implementation of

IContextInfo.forwardedNewsletterMessageInfo


forwardingScore?

optional forwardingScore: null | number

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

ContextInfo forwardingScore.

Implementation of

IContextInfo.forwardingScore


groupMentions

groupMentions: IGroupMention[]

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

ContextInfo groupMentions.

Implementation of

IContextInfo.groupMentions


groupSubject?

optional groupSubject: null | string

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

ContextInfo groupSubject.

Implementation of

IContextInfo.groupSubject


isForwarded?

optional isForwarded: null | boolean

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

ContextInfo isForwarded.

Implementation of

IContextInfo.isForwarded


isQuestion?

optional isQuestion: null | boolean

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

ContextInfo isQuestion.

Implementation of

IContextInfo.isQuestion


isSampled?

optional isSampled: null | boolean

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

ContextInfo isSampled.

Implementation of

IContextInfo.isSampled


memberLabel?

optional memberLabel: null | IMemberLabel

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

ContextInfo memberLabel.

Implementation of

IContextInfo.memberLabel


mentionedJid

mentionedJid: string[]

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

ContextInfo mentionedJid.

Implementation of

IContextInfo.mentionedJid


pairedMediaType?

optional pairedMediaType: null | PairedMediaType

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

ContextInfo pairedMediaType.

Implementation of

IContextInfo.pairedMediaType


parentGroupJid?

optional parentGroupJid: null | string

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

ContextInfo parentGroupJid.

Implementation of

IContextInfo.parentGroupJid


participant?

optional participant: null | string

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

ContextInfo participant.

Implementation of

IContextInfo.participant


placeholderKey?

optional placeholderKey: null | IMessageKey

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

ContextInfo placeholderKey.

Implementation of

IContextInfo.placeholderKey


quotedAd?

optional quotedAd: null | IAdReplyInfo

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

ContextInfo quotedAd.

Implementation of

IContextInfo.quotedAd


quotedMessage?

optional quotedMessage: null | IMessage

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

ContextInfo quotedMessage.

Implementation of

IContextInfo.quotedMessage


rankingVersion?

optional rankingVersion: null | number

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

ContextInfo rankingVersion.

Implementation of

IContextInfo.rankingVersion


remoteJid?

optional remoteJid: null | string

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

ContextInfo remoteJid.

Implementation of

IContextInfo.remoteJid


smbClientCampaignId?

optional smbClientCampaignId: null | string

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

ContextInfo smbClientCampaignId.

Implementation of

IContextInfo.smbClientCampaignId


smbServerCampaignId?

optional smbServerCampaignId: null | string

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

ContextInfo smbServerCampaignId.

Implementation of

IContextInfo.smbServerCampaignId


stanzaId?

optional stanzaId: null | string

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

ContextInfo stanzaId.

Implementation of

IContextInfo.stanzaId


statusAttributionType?

optional statusAttributionType: null | StatusAttributionType

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

ContextInfo statusAttributionType.

Implementation of

IContextInfo.statusAttributionType


statusSourceType?

optional statusSourceType: null | StatusSourceType

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

ContextInfo statusSourceType.

Implementation of

IContextInfo.statusSourceType


trustBannerAction?

optional trustBannerAction: null | number

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

ContextInfo trustBannerAction.

Implementation of

IContextInfo.trustBannerAction


trustBannerType?

optional trustBannerType: null | string

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

ContextInfo trustBannerType.

Implementation of

IContextInfo.trustBannerType


urlTrackingMap?

optional urlTrackingMap: null | IUrlTrackingMap

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

ContextInfo urlTrackingMap.

Implementation of

IContextInfo.urlTrackingMap


utm?

optional utm: null | IUTMInfo

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

ContextInfo utm.

Implementation of

IContextInfo.utm

Methods

toJSON()

toJSON(): object

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

Converts this ContextInfo to JSON.

Returns

object

JSON object


create()

static create(properties?): ContextInfo

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

Creates a new ContextInfo instance using the specified properties.

Parameters

properties?

IContextInfo

Properties to set

Returns

ContextInfo

ContextInfo instance


decode()

static decode(reader, length?): ContextInfo

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

Decodes a ContextInfo 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

ContextInfo

ContextInfo

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited()

static decodeDelimited(reader): ContextInfo

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

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

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

Returns

ContextInfo

ContextInfo

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

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

Parameters

message

IContextInfo

ContextInfo 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:11053

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

Parameters

message

IContextInfo

ContextInfo message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


fromObject()

static fromObject(object): ContextInfo

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

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

Parameters

object

Plain object

Returns

ContextInfo

ContextInfo


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Gets the default type url for ContextInfo

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

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

Parameters

message

ContextInfo

ContextInfo

options?

IConversionOptions

Conversion options

Returns

object

Plain object


verify()

static verify(message): null | string

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

Verifies a ContextInfo message.

Parameters

message

Plain object to verify

Returns

null | string

null if valid, otherwise the reason why it is not