Upload Post icon

Upload Post

Upload content to social media via Upload-Post API

Actions118

Telegram → Get Bot Commands

AI-generated

Summary

Retrieve the list of bot commands configured for a Telegram bot, optionally filtered by a specified language code.

Inputs

  • Profile Name or ID (required) — Select the Telegram network profile to authenticate the request, either by choosing from existing profiles or specifying an ID via expression.
  • Language Code — Provide a two-letter ISO 639-1 language code to get commands specific to that language. Leave empty to retrieve commands applicable to all languages without their own commands.

Output shape

a JSON object containing the bot commands available for the Telegram bot, filtered by language if specified

If a language code is provided, only commands for that language are returned; otherwise, returns commands with no associated language. The operation requires a valid Telegram network profile for authentication.

Examples

Example 1: Fetch bot commands for the default language

Set Profile Name or ID to the target Telegram profile, leave Language Code empty.

Example 2: Fetch bot commands specific to English

Set Profile Name or ID to the Telegram profile and Language Code to 'en'.

Links

Discussion