Connect a Telegram bot
The token is checked with Telegram and the bot starts receiving at once. A bot can be connected once only. Your customers write to https://t.me/<username> and tap Start; add ?start=<code> (64 characters at most, letters, digits, _ and -) to know where they come from.
Autorisations
Company API key, sent as Authorization: Bearer <key>. Create it in the dashboard (Developer > API Keys) with the permissions the integration needs.
Corps
Token given by @BotFather (/newbot). Required on creation; on update only to replace a regenerated token of the same bot. Never returned.
"123456789:AAH..."
Internal name, the name of the bot by default
255Agent answering on the bot; null detaches it
"AGI-XXXXX"
Disabled, the bot no longer receives messages
Réponse
Always HTTP 200: the outcome is in success and code (absolute value of the response code).