Update a Telegram bot
Partial update: only the fields sent change (PUT is accepted too). Disabling stops the reception, enabling installs it again.
Authorizations
Company API key, sent as Authorization: Bearer <key>. Create it in the dashboard (Developer > API Keys) with the permissions the integration needs.
Path Parameters
"tga_xxx"
Body
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
Response
Always HTTP 200: the outcome is in success and code (absolute value of the response code).