Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.56 KB

File metadata and controls

30 lines (24 loc) · 1.56 KB

SunshineConversationsClient::SourceWithCampaignWebhook

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]
campaign Campaign [optional]

Example

require 'sunshine-conversations-client'

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