Reputation: 199
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
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:
Upvotes: 1