Telegram Bot API
Use this method to restrict a user in a supergroup. The bot must be an administrator in the supergroup for this to work and must have the appropriate administrator rights. Pass True for all permissions to lift restrictions from a user. Returns True on success.
post/restrictChatMember
Request
- Base URL: https://api.telegram.org/bot<bot_token>
- URL: https://api.telegram.org/bot<bot_token>/restrictChatMember
- Auth: none declared
Request body
Response
Telegram API response
Changes
No recorded changes to this operation across all 3 revisions of this API.