SunshineConversationsClient::ListMessage

August 27, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
typeStringThe type of message.[default to 'list']
block_chat_inputBooleanWhen 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.[optional]
itemsArray<Item>An array of objects representing the items associated with the message. Only present in carousel and list type messages.
actionsArray<ActionSubset>An array of objects representing the actions associated with the message. The array length is limited by the third party channel.[optional]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::ListMessage.new(
  type: null,
  block_chat_input: null,
  items: null,
  actions: null
)