You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Description
The messages containing quotes cannot be properly received using the get_messages function.
In the message returned by this function, the values of text, caption, photo, media, etc. are None.
Steps to reproduce
Send a message containing a quote.
Retrieve it using the Pyrogram library.
Examine the contents of the received message.
Code example
asyncdefmain():
asyncwithClient("session", api_id, api_hash,) asapp:
msg=awaitapp.get_messages("@pyrogramIssue", 2)
# msg.text is None | msg.caption is None | msg.media is None | msg.photo is None | ...
Logs
No response
The text was updated successfully, but these errors were encountered:
This is because the pytogram author has disappeared and the repository is no longer updated. This happened before blockquotes were introduced in Telegram. The most obvious option now is to use forks that are maintained and developed. Personally, I use the KurimuzonAkuma's fork: https://github.com/KurimuzonAkuma/pyrogram https://pyrodocs.kurimuzon.ru/
Checklist
pip3 install -U https://github.com/pyrogram/pyrogram/archive/master.zip
and reproduced the issue using the latest development versionDescription
The messages containing quotes cannot be properly received using the
get_messages
function.In the message returned by this function, the values of
text
,caption
,photo
,media
, etc. areNone
.Steps to reproduce
Code example
Logs
No response
The text was updated successfully, but these errors were encountered: