If specified, pressing the button will open a list of

suitable users. Tapping on any user will send their identifier to the bot in a “user_shared” service message. Available in private chats only.


anyone explain this, what happens after press this button ???

17 ответов

9 просмотров
অ আ ই-ABC Автор вопроса

what is user_shared service, it measn> all my chat history will be shared with bot

অ আ ই ABC
what is user_shared service, it measn> all my cha...

You have everything explained in your message that you have copypasted from docs. It will share user_id

অ আ ই-ABC Автор вопроса
s0m31 🇷🇺
You have everything explained in your message that...

means, still inot understand, will it open a pop up to select a chat then after i select any chat then it user id will shows to bot???

অ আ ই ABC
means, still inot understand, will it open a pop ...

yes. @username_to_id_bot is most popular example I know

Can you explain what i actually shared ?

💻Георгий Гришко💻
Your contact

So when u share bot or channel it shares what ?

bluethunder
@username_to_id_bot

It's a keyboardbutton , clicking on which the official applications show a list of users dialogs, and whichever is selected only the corresponding ID is sent to the bot. There aren't any links.

Воспоминания <last name><a href=></a>
It's a keyboardbutton , clicking on which the offi...

Yes I am asking how to make this ? There must be some link embedded in them

bluethunder
Yes I am asking how to make this ? There must be s...

sendMessage has reply_markup you can check in pinned message for documentation link.

bluethunder
Yes I am asking how to make this ? There must be s...

this will help: https://core.telegram.org/bots/api#keyboardbuttonrequestchat

Похожие вопросы

Карта сайта