get_managed_bot_access_settings()

async Client.get_managed_bot_access_settings()

Use this method to get the access settings of a managed bot.

Usable by Users Bots
Parameters:

user_id (int | str) – Unique identifier (int) or username (str) of the managed bot whose access settings will be returned.

Returns:

BotAccessSettings – On success, bot token is returned.