SunshineConversationsClient::SourceWebhook

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.[optional]
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 will only be present if the `includeFullSource` option is enabled for the webhook.[optional]
deviceDeviceThe device from which the user authored the message or activity, if applicable. This field will only be present if the `includeFullSource` option is enabled for the webhook[optional]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::SourceWebhook.new(
  type: ios,
  integration_id: null,
  original_message_id: null,
  original_message_timestamp: null,
  client: null,
  device: null
)