Constructor: requestedPeerUser
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.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
user_id | long | Yes | User ID. |
first_name | string | Optional | First name. |
last_name | string | Optional | Last name. |
username | string | Optional | Username. |
photo | Photo | Optional | Profile photo. |
Type: RequestedPeer
Example:
$requestedPeerUser = ['_' => 'requestedPeerUser', 'user_id' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'photo' => Photo];