Telegram APIAccount
account.updateConnectedBot
Connect a business bot » to the current account, or to change the current connection settings.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
workspaceId*string
Workspace ID
accountId*string
Telegram account ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
params*
Connect a business bot » to the current account, or to change the current connection settings.
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/account.updateConnectedBot" \ -H "Content-Type: application/json" \ -d '{ "params": { "bot": { "_": "inputUserEmpty" }, "recipients": { "_": "inputBusinessBotRecipients" } } }'{ "result": { "_": "updatesTooLong" }}updateColor
Update the [accent color and background custom emoji »](https://core.telegram.org/api/colors) of the current account.
updateDeviceLocked
When client-side passcode lock feature is enabled, will not show message texts in incoming [PUSH notifications](https://core.telegram.org/api/push-updates).