Skip to main content

ConnectChannelInput

Fields depend on the provider in the path; see the operation description.

bot_tokenstring

Telegram only. Bot token from @BotFather.

Example: 123456789:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsawQ
chatstring

Telegram only. Channel @username or numeric chat id.

Example: @yourchannel
webhook_urlstring<uri>

Discord or Slack incoming webhook URL.

namestring

Slack only. Display name for the channel (Slack webhooks do not report one).

Possible values: <= 100 characters

ConnectChannelInput
{
"bot_token": "123456789:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsawQ",
"chat": "@yourchannel",
"webhook_url": "string",
"name": "string"
}