Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 994 Bytes

File metadata and controls

22 lines (16 loc) · 994 Bytes

SunshineConversationsClient::Switchboard

Properties

Name Type Description Notes
id String The unique ID of the switchboard.
enabled Boolean Whether the switchboard is enabled. Allows creating the switchboard in a disabled state so that messages don't get lost or misrouted during switchboard configuration. When a switchboard is disabled, integrations linked to the switchboard will receive all events.
default_switchboard_integration_id String The id of the switchboard integration that will be given control when a new conversation begins. It will also be used for conversations that existed before the switchboard was enabled. [optional]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::Switchboard.new(
  id: 5ef21b132f21af34f088530d,
  enabled: null,
  default_switchboard_integration_id: 5ef21b132f21af34f088530e
)