Telegram Bot icon

Telegram Bot

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

Actions101

Chat → Unpin Chat Message

AI-generated

Summary

Unpins a specific message in a designated Telegram chat by providing the chat's unique identifier and the message ID to unpin.

Inputs

  • Chat ID (required) — Unique identifier for the target chat or username (@channelusername).
  • Message ID (required) — Unique identifier of the target message to unpin.

Output shape

a single record

Returns the Telegram API response object indicating success or failure of the unpin operation.

Examples

Example 1: Unpin a message in a group chat

Set the Chat ID to the target group's identifier and specify the Message ID of the pinned message to unpin.

Links

Discussion