Unpin Telegram Message
telegram_unpin_chat_messageUnpin a pinned message in a Telegram chat. Provide the message ID to unpin a specific pin, or omit it to unpin the most recent one.
Instructions
Unpin a message (or the most recent pin) in a chat.
Args:
chat_id (string | number): Target chat
message_id (number, optional): Specific pinned message to unpin. If omitted, unpins the most recently pinned message.
Returns: Confirmation of unpinning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Target chat. Use a numeric chat ID (e.g. 123456789 for a user, -1001234567890 for a supergroup/channel) or a public channel username with a leading '@' (e.g. '@my_channel'). If unknown, call telegram_get_updates after the user messages the bot to discover it. | |
| message_id | No | ID of the message to unpin. Omit to unpin the chat's most recent pinned message. |