Constructs a new MessageContextInfo.
Optional
properties: IMessageContextInfoProperties to set
MessageContextInfo botMessageSecret.
Optional
botMessageContextInfo botMetadata.
Optional
deviceMessageContextInfo deviceListMetadata.
MessageContextInfo deviceListMetadataVersion.
MessageContextInfo messageAddOnDurationInSecs.
MessageContextInfo messageSecret.
MessageContextInfo paddingBytes.
MessageContextInfo reportingTokenVersion.
Static
createCreates a new MessageContextInfo instance using the specified properties.
Optional
properties: IMessageContextInfoProperties to set
MessageContextInfo instance
Static
decodeDecodes a MessageContextInfo message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
MessageContextInfo
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a MessageContextInfo message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
MessageContextInfo
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified MessageContextInfo message. Does not implicitly verify messages.
MessageContextInfo message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified MessageContextInfo message, length delimited. Does not implicitly verify messages.
MessageContextInfo message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a MessageContextInfo message from a plain object. Also converts values to their respective internal types.
Plain object
MessageContextInfo
Static
toCreates a plain object from a MessageContextInfo message. Also converts values to other types if specified.
MessageContextInfo
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a MessageContextInfo.