Closed telegram-api closed 2 years ago
How to clear Deletet accounts in the supergroup?
It is not possible to retrieve a list of all members in a chat using the Telegram Bot API. You can only retrieve chat administrator accounts.
However, you can simple plug in a library I made called pwrtelegram right in your bot code and call the getMembers method. This will allow you retrieve a list of all members, then you can go ahead sort for deleted accounts.
It was great thanks
How do I remove accounts that have been deleted account in group
http://uupload.ir/files/xjy_group.jpg
How Remove all delete acconts
@telegram-api Here is how you would do it.
I have read:
I am using the latest version of the library.
Expected Behavior
Actual Behavior
Steps to reproduce the Behavior
I have:
Introduction
Example