OptionalblockWhen set to true, the chat input will be disabled on supported client implementations when the message is the most recent one in the history. Can be used for guided flows or to temporarily disable the user's ability to send messages in the conversation.
OptionaldisplaySettings to adjust the carousel layout.
OptionalimageAspectRatio?: "horizontal" | "square"Specifies how to display all carousel images. Valid values are horizontal (default) and square. Only supported in Facebook Messenger, Web Messenger, Android SDK and iOS SDK carousels.
An array of objects representing the items associated with the message. Only present in carousel and list type messages.
Optional ReadonlytextThe fallback text message used when carousel messages are not supported by the channel.
The type of message.
Carousel messages are a horizontally scrollable set of items that may each contain text, an image, and message actions. Not all messaging channels fully support carousel messages; currently only Facebook Messenger, LINE, Telegram, Viber, the Web Messenger, the Android SDK and the iOS SDK cover the full functionality. For all other platforms a carousel message is rendered as raw text. The raw text fallback does not include any images or postback message actions.