[英]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. 我想知道如何使用电报API查询特定频道中的用户数。 I have checked this but there is no example https://core.telegram.org/api
我已经检查过了,但是没有示例https://core.telegram.org/api
I am not trying to create a bot, just looking to present stats about a channel. 我不是在尝试创建漫游器,而是希望呈现有关渠道的统计信息。
As @mymedia mentioned, you can use getChatMembersCount
method via Bot API. 如@mymedia所述,您可以通过Bot API使用
getChatMembersCount
方法。
You can find full usage in this document , or see following example: 您可以在本文档中找到完整的用法,或参见以下示例:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.