Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.37 KB

File metadata and controls

26 lines (20 loc) · 1.37 KB

SunshineConversationsClient::ClientAddEventAllOfPayload

Properties

Name Type Description Notes
conversation ConversationTruncated The conversation associated with the creation of the client. This field is only present when the reason is `channelLinking` and when attaching the client to a specific conversation. [optional]
user UserTruncated The user associated with the client. [optional]
client Client The client that was just created. [optional]
reason String The reason for which the client was added. * `channelLinking` - The client was created as a result of initiating a channel link. * `sdkLogin` - The client was created as a result of logging into an SDK device. * `authCode` - The client was created as a result of initializing an SDK client with an `authCode`. [optional]
source SourceWebhook The source where this event originated from. This could be the API or an SDK device. [optional]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::ClientAddEventAllOfPayload.new(
  conversation: null,
  user: null,
  client: null,
  reason: null,
  source: null
)