X Tutup
The Wayback Machine - https://web.archive.org/web/20201210054313/https://github.com/pyrogram/pyrogram/issues/549
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

Iter_history is not able to fetch all messages in a supergroup #549

Open
guenter-r opened this issue Nov 24, 2020 · 0 comments
Open

Iter_history is not able to fetch all messages in a supergroup #549

guenter-r opened this issue Nov 24, 2020 · 0 comments

Comments

@guenter-r
Copy link

@guenter-r guenter-r commented Nov 24, 2020

Checklist

  • I am sure the error is coming from Pyrogram's code and not elsewhere.
  • I have searched in the issue tracker for similar bug reports, including closed ones.
  • I ran pip3 install -U https://github.com/pyrogram/pyrogram/archive/master.zip and reproduced the issue using the latest development version.
  • Tried to debug this myself ( iter_history() - could not fix .. ) -> still true.

Description

When iterating over the messages through iter_history() the program stops proceeding at message with message_id=1. This is not the message that was sent earliest.
Under the below link (gist) the message (changed Id) is listed. This message (timestamp as orientation), cannot be found in the chat at all (checked on phone, tablet and web client). When setting the offset date to an earlier date, the function returns nothing as it is not able to bypass this "broken" (?) and unavailable entry.

Last available message (missing data like sent_from..): here. (The whole "from_user" block is missing)

Steps to Reproduce

Re-run iter_history
last message is again the one mentioned

@guenter-r guenter-r closed this Nov 24, 2020
@guenter-r guenter-r reopened this Nov 25, 2020
@guenter-r guenter-r changed the title Iter_history is not able to proceed when encountering a deleted message that was replied to before deletion. Iter_history is not able to fetch all messages in a supergroup Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.
X Tutup