Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.01 KB

File metadata and controls

22 lines (16 loc) · 1.01 KB

SunshineConversationsClient::SwitchboardReleaseControlAllOfPayload

Properties

Name Type Description Notes
conversation ConversationTruncated The conversation from which the switchboard event was fired. The payload will omit `activeSwitchboardIntegration`, representing that no switchboard integration is in control of the conversation. [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]
reason String Reason for the release control action, if applicable. [optional]

Example

require 'sunshine-conversations-client'

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