Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 893 Bytes

File metadata and controls

22 lines (16 loc) · 893 Bytes

SunshineConversationsClient::SwitchboardAcceptControlFailureAllOfPayload

Properties

Name Type Description Notes
error Object Object containing details of what went wrong. [optional]
conversation ConversationTruncated The conversation from which the switchboard event was fired. [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::SwitchboardAcceptControlFailureAllOfPayload.new(
  error: null,
  conversation: null,
  metadata: {&quot;lang&quot;:&quot;en-ca&quot;}
)