Actions24
- Chat Actions
- Callback Actions
- File Actions
- Message Actions
Overview
This node operation sets a new title for a specified Telegram chat. It is useful for managing and updating chat titles dynamically within Telegram groups, channels, or private chats. For example, it can be used to rename a group chat based on the context of a conversation or event.
Use Case Examples
- Renaming a Telegram group chat to reflect a new project name.
- Updating the title of a channel to announce a new theme or topic.
Properties
| Name | Meaning |
|---|---|
| Chat ID | Unique identifier for the target chat or username of the target channel. This is required to specify which chat's title will be changed. |
| Title | The new title for the chat, which must be between 1 and 255 characters. |
Output
JSON
result- The response from the Telegram API confirming the chat title has been set.
Dependencies
- Telegram API with appropriate credentials for authentication.
Troubleshooting
- Ensure the Chat ID is correct and the bot has permission to change the chat title.
- The title must be between 1 and 255 characters; otherwise, the API will reject the request.
- If the bot is not an administrator in the chat, it cannot change the title.
Links
- Telegram Bot API - setChatTitle - Official Telegram API documentation for setting a chat title.