yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.31k stars 1.51k forks source link

Deletet accounts #343

Closed telegram-api closed 2 years ago

telegram-api commented 7 years ago

Bug Report

I have read:

I am using the latest version of the library.

Expected Behavior

Actual Behavior

Steps to reproduce the Behavior

Feature Request

I have:

Introduction

Example

Question

telegram-api commented 7 years ago

How to clear Deletet accounts in the supergroup?

kamikazechaser commented 7 years ago

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.

telegram-api commented 7 years ago

It was great thanks

How do I remove accounts that have been deleted account in group

telegram-api commented 7 years ago

http://uupload.ir/files/xjy_group.jpg

How Remove all delete acconts

kamikazechaser commented 7 years ago

@telegram-api Here is how you would do it.