Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Bot → Set My Name

AI-generated

Summary

Set bot name

Inputs

  • bot_name (required) — New bot name
  • language_code — Two-letter ISO 639-1 language code for localization

Output shape

a single object representing the updated bot metadata

Returns the updated bot object on success; on error may return {error: '...'} if continueOnFail is disabled

Examples

Example 1: Set bot name to "MyCoolBot"

resource=Bot, operation=setMyName, set bot_name='MyCoolBot' (language_code optional)

Example 2: Set bot name with language code

resource=Bot, operation=setMyName, set bot_name='MyCoolBot', language_code='en'

Example 3: Update bot name using UI additional field

resource=Bot, operation=setMyName, bot_name='BotName', additional fields: {language_code:'es'}

Links

Discussion