telegram.config(...) with a Telegram bot token.
Config
| Option | Description |
|---|---|
botToken | Bot token from @BotFather. |
webhookSecret | Optional secret token for verifying webhook payloads. |
Example
Webhook registration
In cloud mode, whenprojectId and projectSecret are provided, the Telegram provider automatically registers its Fusor webhook on startup.
In local or direct mode, configure the webhook yourself through the Telegram Bot API.