Telegram – Telethon: Same entity type for a group and channel in telethon
I have a bunch of handles(@xyz) and I am trying to find if that handle belongs to a user, a group or a channel. To check it, I am trying with the below code: from telethon.sync import TelegramClient from telethon.tl.types…