SunshineConversationsClient::Source

August 27, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
typeStringAn identifier for the channel from which a message originated. May include one of api, sdk, messenger, or any number of other channels.
integration_idStringIdentifier indicating which integration the message was sent from. For user messages only.[optional]
original_message_idStringMessage identifier assigned by the originating channel.[optional]
original_message_timestampStringA datetime string with the format `YYYY-MM-DDThh:mm:ss.SSSZ` representing when the third party channel received the message.[optional]
clientClientThe client from which the user authored the message or activity, if applicable. This field is not applicable in API responses, it is used only in webhook payloads if the `includeFullSource` option is enabled.[optional]
deviceDeviceThe device from which the user authored the message or activity, if applicable. This field is not applicable in API responses, it is used only in webhook payloads if the `includeFullSource` option is enabled.[optional]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::Source.new(
  type: ios,
  integration_id: de13bee15b51033b34162411,
  original_message_id: 5f40256af057d0000dda9bd7,
  original_message_timestamp: 2019-03-21T18:45:53.720Z,
  client: null,
  device: null
)