How to update the number of subscribers in groups, supergroups and channels
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
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.
What actions should a user perform to receive an update on the number of subscribers in the chat?
There is no guaranteed way to update it. It is updated automatically from time to time when the chat is active.
So, when the chat is open, I need to handle some tdlib update to get the current number of subscribers? could you please tell me which update I need to receive?
The number of supergroup/channel members is available in supergroupFullInfo and basicGroup objects.