RequestedPeerUser#

class pyrogram.raw.types.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.

Constructor of RequestedPeer.

Details:
  • Layer: 211

  • ID: D62FF46A

Parameters:
user_id (int 64-bit):

User ID.

first_name (str, optional):

First name.

last_name (str, optional):

Last name.

username (str, optional):

Username.

photo (Photo, optional):

Profile photo.