Telegram Bot API

Use this method to get the current default administrator rights of the bot. Returns ChatAdministratorRights on success.

post/getMyDefaultAdministratorRights

Request

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

Request body

for_channelsboolean

Pass True to get default administrator rights of the bot in channels. Otherwise, default administrator rights of the bot for groups and supergroups will be returned.

Response

Telegram API response

oktrue required

Changes