get_managed_bot_token()¶
- Client.get_managed_bot_token()¶
Use this method to get the token of a managed bot.
Usable by Users Bots- Parameters:
user_id (
int|str) – Unique identifier (int) or username (str) of the managed bot whose token will be returned.- Returns:
str– On success, bot token is returned.