SunshineConversationsClient::TemplateMessage

August 27, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
typeStringThe type of message.[default to 'template']
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]
templateObjectThe whatsapp template message to send. For more information, consult the guide. `schema` must be set to `whatsapp`.

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::TemplateMessage.new(
  type: null,
  block_chat_input: null,
  template: null
)