Telegram Bot API

Use this method for your bot to leave a group, supergroup or channel. Returns True on success.

post/leaveChat

Request

  • Base URL: https://api.telegram.org/bot<bot_token>
  • URL: https://api.telegram.org/bot<bot_token>/leaveChat
  • Auth: none declared

Request body

Response

Telegram API response

oktrue required
resulttrue required

Changes

No recorded changes to this operation across all 3 revisions of this API.