Telegram Bot API
Use this method to clear the list of pinned messages in a chat. In private chats and channel direct messages chats, no additional rights are required to unpin all pinned messages. Conversely, the bot must be an administrator with the 'can_pin_messages' right or the 'can_edit_messages' right to unpin all pinned messages in groups and channels respectively. Returns True on success.
post/unpinAllChatMessages
Request
- Base URL: https://api.telegram.org/bot<bot_token>
- URL: https://api.telegram.org/bot<bot_token>/unpinAllChatMessages
- Auth: none declared
Request body
Response
Telegram API response
Changes
No recorded changes to this operation across all 3 revisions of this API.