Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.5 KB

File metadata and controls

25 lines (18 loc) · 1.5 KB

SunshineConversationsClient::ConversationTruncated

Properties

Name Type Description Notes
id String The unique ID of the conversation. [optional]
type ConversationType [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]
active_switchboard_integration SwitchboardIntegrationWebhook The current switchboard integration that is in control of the conversation. This field is omitted if no `activeSwitchboardIntegration` exists for the conversation. [optional]
pending_switchboard_integration SwitchboardIntegrationWebhook The switchboard integration that is awaiting control. This field is omitted if no switchboard integration has been previously offered control. [optional]

Code Sample

require 'SunshineConversationsClient'

instance = SunshineConversationsClient::ConversationTruncated.new(id: c93bb9c14dde8ffb94564eae,
                                 type: null,
                                 metadata: {"lang":"en-ca"},
                                 active_switchboard_integration: null,
                                 pending_switchboard_integration: null)