list_managed_bots()¶
- Client.list_managed_bots()
Return the list of bots managed by the current bot or user.
Usable by Users Bots
- Returns:
List of
User– On success, returns a list of user objects representing all bots owned/managed by the current account.
Example
bots = await app.list_managed_bots() for bot in bots: print(bot.id, bot.username)