Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.38 KB

File metadata and controls

26 lines (20 loc) · 1.38 KB

SunshineConversationsClient::ConversationTruncated

Properties

Name Type Description Notes
id String The unique ID of the conversation. [optional]
type ConversationType [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]
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]

Example

require 'sunshine-conversations-client'

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