I have noticed an issue with the Telegram API where it is not sending all updates related to the chat_member field, specifically when a user joins a channel where my bot is a member. In my use case, I generate an invitation link for a user in a channel where my bot is an admin, and when the user clicks on the link and enters the channel, I expect to receive an update indicating that the user has joined. However, in 20% of cases, I do not receive this update, even though I have received all other updates (verified by checking the update_id).
It's worth noting that in 80% of cases, I do receive the update indicating that the user has joined, so it's not a problem with my setup or configuration.
This issue is not sustainable as it affects the reliability of my bot's functionality. I have tried using both webhook and polling methods to receive updates, but the issue persists.
Steps to reproduce
Generate an invitation link for a user in a channel where your bot is an admin.
The user clicks on the link and enters the channel.
Check for updates using getUpdates or webhook.
In 20% of cases, the update indicating that the user has joined may not be received.
I suspect that the issue may be related to users not having a username, but I am not sure. Please investigate this issue and let me know if there is a solution. Thank you.
After a week of research and testing, I'm still facing the same issue.
Out of 469 invitation links generated by my bot for around 20 channels, I encountered 90 cases where I didn't receive the update object. And out of those 90 cases, I can confirm that 60 people successfully entered the channels.
So, the success rate is 60/469 = 12.7%, which is a significant problem. Unfortunately, there are no alternatives available.
P
Pavel Mazurin
Same here. Feels like 100% of such missed notifications are from premium users. Not all premium users are ignored though. It's hard to tell what's the pattern, but the problem definitely exists...
The same thing. And I agree with Pavel. Most of the missed updates are from premium users. And it does not depend on the polling or webhook method, the behavior is the same. Spammers actively use this, and there is a feeling that the exception for the premium is made by telegram specifically for spammers, so that they buy premium in order to get past the defender bots
D
Deleted Account
Hello Telegram Support Team,
I am reporting a serious violation of Telegram’s community guidelines. The following channel/group is sharing extremely harmful and illegal content, including child sexual abuse material (CSAM) and/or sex trafficking content.https://t.me/+K2HAeIMpYGY2YjY1 I'D;1891953881
User ID associated (if applicable): @flairbank
I'D 6033553110
Type of Content:
This type of content is not only against your policy, but also a severe violation of internationalu laws regarding child protection and sexual exploitation. I urge your hbb team to review this immediately, take it down, and cooperate with relevant authorities if necessary.
Please prioritize this report. The safety of children and the integrity of your platform are at stake.
Log in here to report bugs or suggest features. Please enter your phone number in the international format and we will send a confirmation message to your account via Telegram.
Out of 469 invitation links generated by my bot for around 20 channels, I encountered 90 cases where I didn't receive the update object. And out of those 90 cases, I can confirm that 60 people successfully entered the channels.
So, the success rate is 60/469 = 12.7%, which is a significant problem. Unfortunately, there are no alternatives available.
I am reporting a serious violation of Telegram’s community guidelines. The following channel/group is sharing extremely harmful and illegal content, including child sexual abuse material (CSAM) and/or sex trafficking content.https://t.me/+K2HAeIMpYGY2YjY1
I'D;1891953881
User ID associated (if applicable): @flairbank
I'D 6033553110
Type of Content:
This type of content is not only against your policy, but also a severe violation of internationalu laws regarding child protection and sexual exploitation. I urge your hbb team to review this immediately, take it down, and cooperate with relevant authorities if necessary.
Please prioritize this report. The safety of children and the integrity of your platform are at stake.
Thank you for your attention.ុ