Data about the contains information about a user that was shared with the bot using a KeyboardButtonRequestUser button
Optional
firstFirst name of the user, if the name was requested by the bot
Optional
lastLast name of the user, if the name was requested by the bot
Optional
photoAvailable sizes of the chat photo, if the photo was requested by the bot
Identifier of the shared user. The bot may not have access to the user and could be unable to use this identifier, unless the user is already known to the bot by some other means.
Optional
usernameUsername of the user, if the username was requested by the bot
The client that instantiated this
Protected
_cloneProtected
_updateUse this method to get a list of profile pictures for a user.
Optional
offset: numberSequential number of the first photo to be returned. By default, all photos are returned
Optional
limit: numberLimits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100
Returns a UserProfilePhotos object.
Informs a user that some of the Telegram Passport elements they provided contains errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change).
An array describing the errors
Returns True on success.
The client that instantiated this