get_similar_channels()#
- Client.get_similar_channels()#
Get similar channels.
Usable by Users Bots- Parameters:
chat_id (
int
|str
) – Unique identifier (int) or username (str) of the target chat.- Returns:
List of
Chat
– On success, the list of channels is returned.
Example
channels = await app.get_similar_channels(chat_id) print(channels)