Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1 KB

File metadata and controls

24 lines (18 loc) · 1 KB

SunshineConversationsClient::FormMessage

Properties

Name Type Description Notes
type String The type of message. [default to 'form']
submitted Boolean Flag which states whether the form is submitted. [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]
fields Array<FormMessageField> An array of objects representing fields associated with the message. Only present in form and formResponse messages.

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::FormMessage.new(
  type: null,
  submitted: null,
  block_chat_input: null,
  fields: null
)