receives just a user I'd. I need to get first name, last name and username of a shared user. How can I do this?
Which language you’re coding with
It's Ruby, but I think it does not make any difference, since I can make http request with any language
As far as I found in the docs: - bot cannot mention user by id in messages - bot cannot query user data by id unless user started the bot - bot cannot mention user by id in inline keyboard, there is an error message So there is practically nothing a bot can do with shared user. I do not understand what is the point in sharing a user with a bot, when bot receives zero I formation about a user. How can I share more user info with a bot?
Bot CAN mention by id Bot can get user by id If bot have handshake with user
In my case, bot does not have a handshake, and probably will never have. The bot just sends me some reminder about the user I previously shared, and I am trying to find a way for bot to mention the user for me.
Send user contact
Unfortunately contact does not contain telegram username
Обсуждают сегодня