peyk.platforms.telegram.methods.get_my_default_administrator_rights¶
- async peyk.platforms.telegram.methods.get_my_default_administrator_rights(self, *, for_channels: bool | None = None) ChatAdministratorRights¶
Use this method to get the current default administrator rights of the bot. Returns ChatAdministratorRights on success.
- Parameters:
for_channels – 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.