Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.61 KB

File metadata and controls

27 lines (20 loc) · 1.61 KB

SunshineConversationsClient::SourceWebhook

Properties

Name Type Description Notes
type String An identifier for the channel from which a message originated. May include one of api, sdk, messenger, or any number of other channels. [optional]
integration_id String Identifier indicating which integration the message was sent from. For user messages only. [optional]
original_message_id String Message identifier assigned by the originating channel. [optional]
original_message_timestamp String A datetime string with the format YYYY-MM-DDThh:mm:ss.SSSZ representing when the third-party channel received the message. [optional]
client Client The 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]
device Device The 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]

Code Sample

require 'SunshineConversationsClient'

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