Info about a user, shared by a user with the currently logged in bot using messages.sendBotRequestedPeer.
All fields except the ID are optional, and will be populated if present on the chosen user, according to the parameters of the requesting inputKeyboardButtonRequestPeer.
requestedPeerUser#d62ff46a flags:# user_id:long first_name:flags.0?string last_name:flags.0?string username:flags.1?string photo:flags.2?Photo = RequestedPeer;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
user_id | long | User ID. |
first_name | flags.0?string | First name. |
last_name | flags.0?string | Last name. |
username | flags.1?string | Username. |
photo | flags.2?Photo | Profile photo. |
Send one or more chosen peers, as requested by a keyboardButtonRequestPeer button.
Prompts the user to select and share one or more peers with the bot using messages.sendBotRequestedPeer.