Upload Post icon

Upload Post

Upload content to social media via Upload-Post API

Actions118

Telegram → Set Bot Commands

AI-generated

Summary

Set Telegram bot commands specifying their names and descriptions, optionally for a specific language and with additional custom fields.

Inputs

  • Profile Name or ID (required) — Select the Telegram bot profile to update, either from the list or by specifying its ID via expression.
  • Commands (required) — Define one or more bot commands, each with a command string (1-32 lowercase letters, digits, or underscores, without a slash) and a description (1-256 characters) shown in the menu.
  • Language Code — Specify a two-letter ISO 639-1 language code to restrict commands to that language. Leave empty to apply commands as the default for all languages without a specific set.
  • Extra Fields (JSON) — Provide additional JSON fields to include in the API request payload, e.g., permissions, rights, until_date, menu_button, or scope, allowing advanced customization.

Output shape

a single JSON response object from the Telegram API confirming the bot commands set

The output contains the Telegram API's standard response object for setting bot commands; errors or validation issues are surfaced via node execution errors.

Examples

Example 1: Set commands for a Telegram bot profile named 'MyBot' with commands '/help' and '/start'

Profile 'MyBot', Commands: 'help' with description 'Show help info', 'start' with 'Start interacting with bot', Language Code empty, no Extra Fields.

Links

Discussion