Skip to main content

ChannelSelfTelegramBotCredentials

Credentials for a customer-facing channel connected directly through the Telegram Bot API.

bot_tokenBot Tokenrequired

Secret bot token issued by BotFather. It is used only for Telegram API calls and is omitted from channel responses.

channel_id object

Canonical Telegram bot user id. Omit it on create; the backend derives it from the numeric bot-token prefix.

anyOf
string
webhook_secretWebhook Secret

Secret sent by Telegram in the X-Telegram-Bot-Api-Secret-Token header. Omit it on create to let the backend generate one.

ChannelSelfTelegramBotCredentials
{
"bot_token": "string",
"channel_id": "string",
"webhook_secret": "string"
}