How to get Telegram channel users list with Telegram Bot API

后端 未结 7 1824
旧时难觅i
旧时难觅i 2020-12-28 17:53

Anybody give a starter on how may I get information about users from my telegram bot. Imagine my bot in an admin user in my channel and I want to get my channel user list or

7条回答
  •  心在旅途
    2020-12-28 18:34

    In order to get user list, you need to use telegram API.

    Telegram API is fairly complicated. There are some clients which can get the job done much faster.

    For python, there is Telethon, and the method to get channel users is:

    get_full_channel.

提交回复
热议问题