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