Telegram Bot API
Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as ChatInviteLink object.
post/revokeChatInviteLink
Request
- Base URL: https://api.telegram.org/bot<bot_token>
- URL: https://api.telegram.org/bot<bot_token>/revokeChatInviteLink
- Auth: none declared
Request body
Response
Telegram API response
Changes
- info
added the optional property
///////to the response with the status
- info