Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 969 Bytes

SwitchboardPassControlAllOfPayload.md

File metadata and controls

19 lines (12 loc) · 969 Bytes

SunshineConversationsClient::SwitchboardPassControlAllOfPayload

Properties

Name Type Description Notes
conversation ConversationTruncated The conversation from which the switchboard event was fired. On success, the payload will include an `activeSwitchboardIntegration`, representing the switchboard integration that is now in control of the conversation. [optional]
metadata 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]

Code Sample

require 'SunshineConversationsClient'

instance = SunshineConversationsClient::SwitchboardPassControlAllOfPayload.new(conversation: null,
                                 metadata: {"lang":"en-ca"})