Constructs a new AIRichResponseSubMessage.
Optional
properties:
IAIRichResponseSubMessage
Properties to set
Optional
codeAIRichResponseSubMessage codeMetadata.
Optional
contentAIRichResponseSubMessage contentItemsMetadata.
Optional
dynamicAIRichResponseSubMessage dynamicMetadata.
Optional
gridAIRichResponseSubMessage gridImageMetadata.
Optional
imageAIRichResponseSubMessage imageMetadata.
Optional
latexAIRichResponseSubMessage latexMetadata.
Optional
mapAIRichResponseSubMessage mapMetadata.
Optional
messageAIRichResponseSubMessage messageText.
Optional
messageAIRichResponseSubMessage messageType.
Optional
tableAIRichResponseSubMessage tableMetadata.
Static
create
Creates a new AIRichResponseSubMessage instance using the specified properties.
Optional
properties:
IAIRichResponseSubMessage
Properties to set
AIRichResponseSubMessage instance
Static
decode
Decodes a AIRichResponseSubMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
AIRichResponseSubMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a AIRichResponseSubMessage message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
AIRichResponseSubMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified AIRichResponseSubMessage message. Does not implicitly verify messages.
AIRichResponseSubMessage message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified AIRichResponseSubMessage message, length delimited. Does not implicitly verify messages.
AIRichResponseSubMessage message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a AIRichResponseSubMessage message from a plain object. Also converts values to their respective internal types.
Plain object
AIRichResponseSubMessage
Static
getStatic
toCreates a plain object from a AIRichResponseSubMessage message. Also converts values to other types if specified.
AIRichResponseSubMessage
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a AIRichResponseSubMessage.