get_bot_default_privileges()#

Client.get_bot_default_privileges()#

Get the current default privileges of the bot.

Usable by Users Bots
Parameters:

for_channels (bool, optional) – Pass True to get default privileges of the bot in channels. Otherwise, default privileges of the bot for groups and supergroups will be returned.

Returns:

bool – On success, True is returned.

Example

privileges = await app.get_bot_default_privileges()