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

Duplicate messages #2

Open
stevesoltys opened this issue May 29, 2017 · 0 comments
Open

Duplicate messages #2

stevesoltys opened this issue May 29, 2017 · 0 comments
Labels

Comments

@stevesoltys
Copy link
Owner

stevesoltys commented May 29, 2017

Occasionally a message will be relayed twice when coming from Telegram. This is a very rare occurrence, but happens nonetheless.

  • For supergroups, this seems to be an issue with Telegram sending the same message twice (with different message IDs).
  • For a standard group, the message IDs cannot be used for uniquely identifying a message, so the UNIX time that the message was sent is used instead. This is really not the best idea, but it's working for now and I don't see any other option.

See this class for implementation details.

Although this issue may be unavoidable, I will leave it open for further investigation and/or discussion.

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

No branches or pull requests

1 participant