Constructs a new InteractiveMessage.
Optional properties: IInteractiveMessageProperties to set
Optional bodyInteractiveMessage body.
Optional carouselInteractiveMessage carouselMessage.
Optional collectionInteractiveMessage collectionMessage.
Optional contextInteractiveMessage contextInfo.
Optional footerInteractiveMessage footer.
Optional headerInteractiveMessage header.
Optional interactiveInteractiveMessage interactiveMessage.
Optional nativeInteractiveMessage nativeFlowMessage.
Optional shopInteractiveMessage shopStorefrontMessage.
Static createCreates a new InteractiveMessage instance using the specified properties.
Optional properties: IInteractiveMessageProperties to set
InteractiveMessage instance
Static decodeDecodes an InteractiveMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional length: numberMessage length if known beforehand
InteractiveMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static decodeDecodes an InteractiveMessage message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
InteractiveMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static encodeEncodes the specified InteractiveMessage message. Does not implicitly verify messages.
InteractiveMessage message or plain object to encode
Optional writer: WriterWriter to encode to
Writer
Static encodeEncodes the specified InteractiveMessage message, length delimited. Does not implicitly verify messages.
InteractiveMessage message or plain object to encode
Optional writer: WriterWriter to encode to
Writer
Static fromCreates an InteractiveMessage message from a plain object. Also converts values to their respective internal types.
Plain object
InteractiveMessage
Static toCreates a plain object from an InteractiveMessage message. Also converts values to other types if specified.
InteractiveMessage
Optional options: IConversionOptionsConversion options
Plain object
Static verifyGenerated using TypeDoc
Represents an InteractiveMessage.