get_similar_bots()

Client.get_similar_bots()

Returns a list of bots similar to the given bot.

Usable by Users Bots
Parameters:

user_id (``int`` | ``str``) – Unique identifier (int) or username (str) of the target bot.

Returns:

List of :obj:`~pyrogram.types.User` (On success.)

Raises:

RPCError –

Example

bots = await app.get_similar_bots()