account settings
Delete TG bot commands
Clears all bot commands configured for a Telegram bot account.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
accountIdstring
Response Body
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.accountsettings.deleteTelegramCommands({ path: { accountId: 'account_abc123', },});console.log(data);Empty
{
"error": "Unauthorized"
}Set TG bot commands PUT
Set bot commands for a Telegram account.
List groups GET
Returns all account groups visible to the authenticated user. Groups can contain accounts from multiple profiles. For API keys scoped to specific profiles, only groups whose accounts all live in allowed profiles are returned.