Constructs a new ContextInfo.
Optional
properties: IContextInfoProperties to set
Optional
actionContextInfo actionLink.
Optional
businessContextInfo businessMessageForwardInfo.
ContextInfo conversionData.
ContextInfo conversionDelaySeconds.
ContextInfo conversionSource.
Optional
disappearingContextInfo disappearingMode.
ContextInfo entryPointConversionApp.
ContextInfo entryPointConversionDelaySeconds.
ContextInfo entryPointConversionSource.
ContextInfo ephemeralSettingTimestamp.
ContextInfo ephemeralSharedSecret.
ContextInfo expiration.
Optional
externalContextInfo externalAdReply.
Optional
forwardedContextInfo forwardedNewsletterMessageInfo.
ContextInfo forwardingScore.
ContextInfo groupMentions.
ContextInfo groupSubject.
ContextInfo isForwarded.
ContextInfo isSampled.
ContextInfo mentionedJid.
ContextInfo parentGroupJid.
ContextInfo participant.
Optional
placeholderContextInfo placeholderKey.
Optional
quotedContextInfo quotedAd.
Optional
quotedContextInfo quotedMessage.
ContextInfo remoteJid.
ContextInfo stanzaId.
ContextInfo trustBannerAction.
ContextInfo trustBannerType.
Optional
utmContextInfo utm.
Static
createCreates a new ContextInfo instance using the specified properties.
Optional
properties: IContextInfoProperties to set
ContextInfo instance
Static
decodeDecodes a ContextInfo message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
ContextInfo
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a ContextInfo message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
ContextInfo
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified ContextInfo message. Does not implicitly verify messages.
ContextInfo message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified ContextInfo message, length delimited. Does not implicitly verify messages.
ContextInfo message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a ContextInfo message from a plain object. Also converts values to their respective internal types.
Plain object
ContextInfo
Static
toCreates a plain object from a ContextInfo message. Also converts values to other types if specified.
ContextInfo
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a ContextInfo.