How to get Telegram channel users list with Telegram Bot API

后端 未结 7 1766
旧时难觅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:59

    The great language-agnostic way to use the Telegram API is to use the https://www.t-a-a-s.ru/. You don't have to install anything - you can make a query just via HTTP request from any language.

    1. Sign in and create an API Key
    2. Using key, make a following HTTP request to get list of members
    GET https://www.t-a-a-s.ru/client
    {
      "api_key": "YOUR_API_KEY",
      "@type": "getSupergroupMembers",
      "supergroup_id": "xxx",
      "limit": "200"
    }
    
    0 讨论(0)
提交回复
热议问题