Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 894 Bytes

File metadata and controls

20 lines (14 loc) · 894 Bytes

SunshineConversationsClient::SwitchboardAcceptControlAllOfPayload

Properties

Name Type Description Notes
conversation ConversationTruncated The conversation from which the switchboard event was fired. Will include an `activeSwitchboardIntegration` representing the integration that has just accepted control. [optional]
metadata Hash<String, Object> Flat object containing custom properties. Strings, numbers and booleans are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size. [optional]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::SwitchboardAcceptControlAllOfPayload.new(
  conversation: null,
  metadata: {&quot;lang&quot;:&quot;en-ca&quot;}
)