get_similar_bots()#

Client.get_similar_bots()[source]#

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 User – On success.

Raises:

RPCError <../../start/errors> – In case of a Telegram RPC error.

Example

bots = await app.get_similar_bots()