Actions24
- Chat Actions
- Callback Actions
- File Actions
- Message Actions
Overview
This node operation allows unpinning a specific chat message in a Telegram chat. It is useful for managing chat content by removing pinned messages that are no longer relevant or needed. For example, a user can unpin an announcement message after the event has passed to keep the chat clean and updated.
Use Case Examples
- Unpin a previously pinned message in a group chat to update the chat's pinned content.
- Remove a pinned message in a channel to highlight new important information.
Properties
| Name | Meaning |
|---|---|
| Chat ID | Unique identifier for the target chat or username where the message is located. |
| Message ID | Unique identifier of the message to unpin in the chat. |
Output
JSON
chat_id- Identifier of the chat where the message was unpinned.message_id- Identifier of the unpinned message.result- Result of the unpin operation, typically a boolean indicating success.
Dependencies
- Requires Telegram API access with appropriate credentials (API key or token).
Troubleshooting
- Ensure the Chat ID and Message ID are correct and the bot has permission to unpin messages in the chat.
- Common errors include invalid chat or message identifiers, or insufficient permissions to modify chat messages.
- If the message is not pinned, the unpin operation may fail or return an error.
Links
- Telegram Bot API - unpinChatMessage - Official Telegram API documentation for the unpinChatMessage method used to unpin a chat message.