account settings
Set TG bot commands
Set bot commands for a Telegram account.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
accountIdstring
commands
Response Body
application/json
curl -X PUT "https://getlate.dev/api/v1/accounts/string/telegram-commands" \ -H "Content-Type: application/json" \ -d '{ "commands": [ { "command": "string", "description": "string" } ] }'Empty
Empty
{
"error": "Unauthorized"
}