Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.46 KB

Telegram.md

File metadata and controls

27 lines (20 loc) · 1.46 KB

SunshineConversationsClient::Telegram

Properties

Name Type Description Notes
type String To configure a Telegram integration, acquire the required information from the user and call the Create Integration endpoint. [optional] [default to 'telegram']
token String Telegram Bot Token.
username String Username of the botId [optional] [readonly]
bot_id String A human-friendly name used to identify the integration. [optional] [readonly]
default_responder_id String The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to <a href=&quot;https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\&quot;&gt;Per-channel default responder</a> guide. [optional]
default_responder DefaultResponderDefaultResponder [optional]

Code Sample

require 'SunshineConversationsClient'

instance = SunshineConversationsClient::Telegram.new(type: null,
                                 token: 192033615:AAEuee2FS2JYKWfDlTulfygjaIGJi4s,
                                 username: null,
                                 bot_id: null,
                                 default_responder_id: null,
                                 default_responder: null)