chats/channel IDs from folder, should I do any cpecific actions with those IDs or I can just use list of `DialogFilter.include_peers.channel_id`’s in handler registration? (Folder contains both: groups and channels)
for custom folders, you have to pass the InputPeer object around, id won't be cached in inner peers of responses
So, it should be a list of InputPeer obj?
yes. telethon converts around when necessary, integer id or peer object are all accepted l
for dialog in dialogs: if isesinets(dialog.entity, Channel): # you code
Обсуждают сегодня