Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.04 KB

Switchboard.md

File metadata and controls

21 lines (14 loc) · 1.04 KB

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]

Code Sample

require 'SunshineConversationsClient'

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