mehwish
mehwish

Reputation: 199

Telegram API - Channel User Count

I like to know how to use telegram API to query number of users that are in a particular channel. I have checked this but there is no example https://core.telegram.org/api

I am not trying to create a bot, just looking to present stats about a channel.

Upvotes: 1

Views: 2399

Answers (1)

Sean Wei
Sean Wei

Reputation: 7985

As @mymedia mentioned, you can use getChatMembersCount method via Bot API.

You can find full usage in this document, or see following example:

Awesome Telegram Bot

Upvotes: 1

Related Questions