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
The method checkAndGetResponseData(...) checks if all of the following attributes are available: ['id', 'first_name', 'last_name', 'username', 'photo_url', 'auth_date', 'hash'].
last_name is an optional attribute though. This leads to a NotAllAttributesException although the received data is potentially valid.
I haven't tested it jet, but i assume that photo_url is also not set if the user does not have a profile picture.
The text was updated successfully, but these errors were encountered:
Seems like Telegram didn't state this at all...
After thinking about this, I don't think this check is necessary at all - I'll make a pr that removes this check completely.
The method
checkAndGetResponseData(...)
checks if all of the following attributes are available:['id', 'first_name', 'last_name', 'username', 'photo_url', 'auth_date', 'hash']
.last_name
is an optional attribute though. This leads to aNotAllAttributesException
although the received data is potentially valid.I haven't tested it jet, but i assume that
photo_url
is also not set if the user does not have a profile picture.The text was updated successfully, but these errors were encountered: