admin管理员组文章数量:1333389
I wrote a small bot to collect information about the maximum number of unique group members in a telegram. I used the python-telegram-bot library for the work. When a new member enters the group, we record it through Update.message.new_chat_members and modify the counter to +1, but I faced the following problem: Telegram does not send information about certain users who have joined the group. Conditionally, if 2 users joined with a certain period of time, we can get only 1 request of one user, but there will still be 2 members in the group. Has anyone faced this problem before?
The results of the unit tests were positive, so this is not a problem in the bot's code. A webhook is used to launch the bot.
本文标签: How do I count the maximum number of unique group members in a telegramStack Overflow
版权声明:本文标题:How do I count the maximum number of unique group members in a telegram? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742329308a2454362.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论