unpin_message
Remove a pinned message from a chat. Specify the chat and message ID, or unpin the most recent pinned message by omitting the message ID.
Instructions
Unpin a message in a chat.
Args: chat_id: Chat ID or @channel_username (uses TELEGRAM_CHAT_ID if omitted) message_id: ID of message to unpin (optional, unpins most recent if not specified)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | ||
| message_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |