am usimg iter_dialog wity if sttaemmt but that will call multiple api requests for each list
instead get all dialog in one call and filter them
?? small code please
there is no way to get all dialogs in one call. server has limits. telethon will chunk it slowly by 200, get_dialogs is same as iter, it just adds all chunks to a list. you can filter the chat types with the attributes on the Dialog object. look at it closer or search in this chat for examples
with iter i am filterimg usinf if dialog.is_user and not dialog.entity.bot how can i do it with get_dialog
Обсуждают сегодня