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

Occasionally not receiving message update #1181

Open
0xSorcerer opened this issue Mar 24, 2024 · 0 comments
Open

Occasionally not receiving message update #1181

0xSorcerer opened this issue Mar 24, 2024 · 0 comments

Comments

@0xSorcerer
Copy link

Bug Report

I have read:

I am using the latest version of the library.

Expected Behavior

I am using bot.on('message') to receive updates when a user joins / leaves a supergroup.

Actual Behavior

Sometimes the message update is not received by the bot. This occurs much more often when other bots (especially bot management bots such as Rose) are in the group and remove the join / leave messages. I initially thought the problem could've been caused by the polling mechanism, with other bots removing messages and the update request not containing the deleted messages. I shifted towards websocket but still the error persists.

Steps to reproduce the Behavior

Add a .on('message') event to your bot with a single console log for debug. Add your bot and Rose or Safeguard to a telegram group and try joining and leaving several times.

Feature Request

I have:

  • searched for such a feature request ( enhancement ) and found none

Introduction

Example

Question

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

1 participant