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
When get user/chat with multiple usernames, pyrogram get raw object with empty field username and with not empty field usernames but ignore second field when parse to User object
Steps to reproduce
Try get user with multiple usernames by him main username (other will raise KeyError, see #1239)
Checklist
pip3 install -U https://github.com/pyrogram/pyrogram/archive/master.zip
and reproduced the issue using the latest development versionDescription
When get user/chat with multiple usernames, pyrogram get raw object with empty field username and with not empty field usernames but ignore second field when parse to User object
Steps to reproduce
Try get user with multiple usernames by him main username (other will raise KeyError, see #1239)
Code example
Logs
The text was updated successfully, but these errors were encountered: