Open farshid-shokrolahi opened 3 weeks ago
Hi @farshid-shokrolahi . Thanks for opening the issue). According to the documentation photo url is "Optional. URL of the user’s profile photo. The photo can be in .jpeg or .svg formats. Only returned for Mini Apps launched from the attachment menu.". The user should open the bot from attachment menu which is currently available for advertisers or test env.
Regarding first_name, I cannot reproduce the issue. You should check if they entered their full name to only one field (first name or last name).
@farshid-shokrolahi I will close this issue if I don't get any updates from you
Hi there. Thank you for your great package.
There is no
photo_url
ininitData.user
and when I useinitDataUnsafe?.user?.photo_url
I get a null value. Also for some users, thefirst_name
is null. and I know they have first name in their telegram accounts.Please let me know if I did something wrong. Thanks