Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to update the number of subscribers in groups, supergroups and channels #3195

Open
yuminekosan opened this issue Dec 19, 2024 · 3 comments

Comments

@yuminekosan
Copy link

Can you give me a hint, please? How to correctly update the number of subscribers in chats so that it corresponds to the actual data. Because now when using GetSupergroup, GetSupergroupFullInfo, GetBasicGroupFullInfo, GetBasicGroup methods we noticed that the MemberCount field has irrelevant information. Because we are looking at the data from tdlib and the data on the mobile device on chats, and they are different

@levlam
Copy link
Contributor

levlam commented Dec 19, 2024

It is updated automatically wherever needed, depending on user actions. There is no way to forcely get actual data by polling it using any request.

@yuminekosan
Copy link
Author

What actions should a user perform to receive an update on the number of subscribers in the chat?

@levlam
Copy link
Contributor

levlam commented Dec 19, 2024

There is no guaranteed way to update it. It is updated automatically from time to time when the chat is active.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants