Obtain a list of similarly themed public channels, selected based on similarities in their subscriber bases.
Method schema is available as of layer 178. Switch ยป
Parameters
Name |
Type |
Description |
flags |
# |
Flags, see TL conditional fields |
channel |
flags.0?InputChannel |
The method will return channels related to the passed channel . If not set, the method will returns channels related to channels the user has joined. |
Result
messages.Chats
Possible errors
Code |
Type |
Description |
400 |
CHANNEL_INVALID |
The provided channel is invalid. |
400 |
CHANNEL_PRIVATE |
You haven't joined this channel/supergroup. |