Advertisement
l1von

Untitled

Jul 7th, 2021
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. for d in client.get_dialogs():
  2.     if isinstance(d.entity, telethon.types.Channel) and d.entity.is_supergroup:
  3.         print("канал")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement