TGDesk
Language, current: English

Home › Blog

Several messages can stay pinned in one chat

Updated · TGDesk

Short answer (26 October 2026): the 30 October 2020 post says one chat can pin several messages. You tap the top bar to move between them, or open a separate page that lists them. On layer 225, messages.updatePinnedMessage pins or unpins one message. pinned_msg_id on the chat's full info is the latest id. The full list is a search with inputMessagesFilterPinned.

The top bar, and one-to-one chats

The English post says you can pin multiple messages in any chat. Tap the top bar to jump between them, or use the new button to see them all on a separate page. The same section says pinned messages work in one-on-one chats as well as in channels and groups. The examples it names are shopping lists and friendly wagers. The post is dated 30 October 2020, signed by the Telegram Team. An update note on that page says the iOS part was approved on 31 October.

With Russian selected, the same URL is a translation. It links back to the English original. The heading there is «Несколько закреплённых сообщений». It says you switch between the pinned messages, or open the whole list on a separate screen with the new icon in the bar at the top of the chat. It says pinning is available in personal chats as well as in groups and channels, and it names shopping lists and task lists. The language list on the post includes Russian. It has no Chinese.

What the docs call a channel, a basic group, and a supergroup is in channels and groups. A message that waits to send later is a different queue: scheduled messages.

The latest id, and the full list

core.telegram.org/api/pin, fetched 26 October 2026, opens with the same idea: Telegram allows pinning multiple messages on top of a specific chat. A pinned message has the pinned flag set on the message constructor. Pinning or unpinning emits updatePinnedMessages or updatePinnedChannelMessages. Each update carries the ids of the messages that were pinned or unpinned.

The same page says pinned_msg_id on userFull, chatFull, and channelFull contains the id of only the latest pinned message. The full list is messages.search with the inputMessagesFilterPinned filter. The pages fetched that day do not print a maximum number of pinned messages. The method page's layer menu includes the label «120 – Multipins, Message Stats, GeoLive v2». The method itself is shown on layer 225, «Guest mode, Custom AI compose tones».

One call on layer 225

messages.updatePinnedMessage, on layer 225 when fetched 26 October 2026, pins a message. The result is Updates. The page says both users and bots can use the method, and that it can be invoked over a business connection. The parameters that change what the pin does:

FlagText on the method page
silentPin the message silently, without triggering a notification
unpinWhether the message should unpinned or pinned
pm_onesideWhether the message should only be pinned on the local side of a one-to-one chat

peer is the peer where to pin the message. id is the message to pin or unpin. These are the errors on that page:

CodeErrorText on the method page
400BOT_ONESIDE_NOT_AVAILBots can't pin messages in PM just for themselves.
400BUSINESS_CONNECTION_INVALIDThe connection_id passed to the wrapping invokeWithBusinessConnection call is invalid.
400BUSINESS_PEER_INVALIDMessages can't be set to the specified peer through the current business connection.
400CHANNEL_PRIVATEYou haven't joined this channel/supergroup.
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
400CHAT_INVALIDInvalid chat.
400CHAT_NOT_MODIFIEDNo changes were made to chat information because the new information you passed is identical to the current information.
403CHAT_WRITE_FORBIDDENYou can't write in this chat.
400INPUT_USER_DEACTIVATEDThe specified user was deleted.
400MESSAGE_ID_INVALIDThe provided message id is invalid.
400PEER_ID_INVALIDThe provided peer id is invalid.
400PIN_RESTRICTEDYou can't pin messages.
400USER_BANNED_IN_CHANNELYou're banned from sending messages in supergroups/channels.

Unpin the whole list

messages.unpinAllMessages, also on layer 225 that day, unpins all pinned messages. peer is the chat where to unpin. top_msg_id is the forum topic where to unpin. If saved_peer_id is set, the page says it must equal the id of a monoforum topic, and the call unpins every message pinned in that topic. The result is messages.AffectedHistory. The page says both users and bots can use the method. Its errors are CHAT_ADMIN_REQUIRED, CHAT_NOT_MODIFIED, INPUT_USER_DEACTIVATED, and PEER_ID_INVALID, with the same texts as on the single-message method for the three that overlap, and «The specified user was deleted» for the deactivated user. How a topic sits inside one group is in forum topics.

Who is allowed to pin

chatAdminRights, on layer 225, is the rights of an admin in a channel or a supergroup. pin_messages allows that admin to pin messages in the channel or supergroup.

pinChatMessage in the Bot API, fetched the same day, adds a message to the list of pinned messages in a chat. In private chats and channel direct-message chats, all non-service messages can be pinned. In a group the bot needs the can_pin_messages administrator right. In a channel it needs can_edit_messages. disable_notification skips the notice to chat members. The page says notifications are always disabled in channels and private chats. The method returns true on success. unpinChatMessage removes one message from that list. If message_id is omitted, the most recent pinned message by sending date is the one removed, and the id is required when business_connection_id is set. unpinAllChatMessages clears the list. In private chats and channel direct-message chats, that call needs no extra right. In groups and channels it uses the same two administrator rights as the pin call.

pinChatMessage in TDLib, fetched the same day, pins a message when messageProperties.can_be_pinned is set. disable_notification turns the notice off, and the page says notifications are always disabled in channels and private chats. only_for_self pins the message only for the caller, and only in a private chat.

The pin follows the account

The FAQ, fetched 26 October 2026, says each phone number is a separate account on Telegram. You may create another account on a second number, and one Telegram app can log in to several accounts at once. The same FAQ says you can use Telegram on many devices at the same time, with the same phone number on each of them. pinned_msg_id sits on the chat's full info. A second number is another account, with its own full info for each chat it has joined, and its own pin_messages right where it is an admin.

The pin stays in Telegram

TGDesk is an independent paid desktop inbox for several accounts. An unsigned Windows ZIP is available on the home page. It is not affiliated with Telegram. The pin stays a Telegram setting on that chat. Speech-to-text, in-chat translation and text from images are planned and are not in the public Windows build.

Sources

Fetched 26 October 2026: Pinned messages (30 October 2020), the same post with Russian selected, Pinned messages API, messages.updatePinnedMessage, messages.unpinAllMessages, chatAdminRights, Bot API pinChatMessage, TDLib pinChatMessage, FAQ, a new phone number.

FAQ

Can one chat hold more than one pinned message?

The 30 October 2020 post says you can pin several messages in any chat, including a one-to-one chat. The pin API page, fetched 26 October 2026, says Telegram allows pinning multiple messages on top of a specific chat. Those pages do not print a maximum count.

Why does the chat store a single id?

The pin page says pinned_msg_id on userFull, chatFull, and channelFull contains the ID of only the latest pinned message. The full list is messages.search with the inputMessagesFilterPinned filter.

Who can pin in a group or a channel?

On layer 225, chatAdminRights.pin_messages allows an admin to pin messages in a channel or a supergroup. The Bot API says a bot pins in a group with can_pin_messages, and in a channel with can_edit_messages. In a private chat, that page says all non-service messages can be pinned. CHAT_ADMIN_REQUIRED reads: You must be an admin in this chat to do this.

Can a private-chat pin stay on one side?

messages.updatePinnedMessage describes pm_oneside as whether the message should only be pinned on the local side of a one-to-one chat. TDLib's only_for_self is limited to private chats. BOT_ONESIDE_NOT_AVAIL reads: Bots can't pin messages in PM just for themselves.

Does one pin list cover every account on the PC?

The FAQ, fetched 26 October 2026, says each phone number is a separate account, and that one Telegram app can log in to several accounts at once. pinned_msg_id sits on that chat's full info. A second number is another account.

Download for Windows (unsigned)

Free 3-day trial: open @tgdesk_app_bot and send /trial. Once per Telegram user, Personal-tier capability, 1 device.

Unsigned build. Windows SmartScreen can warn you: choose More info, then Run anyway. SHA256 · README. License: open t.me/tgdesk_app_bot and send /trial, /buy, or /mykey, then choose Activate in the app. The app checks the key at pay.tgdesk.app. Personal: 59.9 USDT or 3000 Stars, 90 days, 2 devices. Team: 143.76 USDT or 7200 Stars, 90 days, 5 devices. Team is a license for 5 devices, not shared agent seats, conversation assignment or a ticketing system.

Where to paste the key: Activate and bind this computer.

Optional waitlist

Join the waitlist

Optional. Only if we write to you about TGDesk.