SunshineConversationsClient::LocationMessage

August 27, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
typeStringThe type of message.[default to 'location']
textStringThe fallback text message used when location messages are not supported by the channel.[optional][readonly]
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]
coordinatesLocationMessageCoordinates
locationLocationMessageLocation[optional]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::LocationMessage.new(
  type: null,
  text: null,
  block_chat_input: null,
  coordinates: null,
  location: null
)