Account Settings
Delete TG bot commands
Clears all bot commands configured for a Telegram bot account.
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
accountId*string
Response Body
application/json
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
Was this page helpful?