Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.16 KB

File metadata and controls

26 lines (20 loc) · 1.16 KB

SunshineConversationsClient::CarouselMessage

Properties

Name Type Description Notes
type String The type of message. [default to 'carousel']
text String The fallback text message used when carousel messages are not supported by the channel. [optional][readonly]
block_chat_input Boolean When 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]
items Array<Item> An array of objects representing the items associated with the message. Only present in carousel and list type messages.
display_settings CarouselMessageDisplaySettings [optional]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::CarouselMessage.new(
  type: null,
  text: null,
  block_chat_input: null,
  items: null,
  display_settings: null
)