Data about the describes the user's Telegram Passport data shared with the bot
Encrypted credentials required to decrypt the data.
Array containing information about documents and other Telegram Passport elements shared with the bot.
The client that instantiated this
Protected
_cloneProtected
_patchProtected
_updateInforms 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).
User identifier
An array describing the errors
Returns True on success.
Flatten an object. Any properties that are collections will get converted to an array of keys.
Optional
propsRecursive: booleanOptional. If true, calls toJSON method on nested objects.
Rest
...props: Record<string, string | boolean>[]Optional. Specific properties to include/exclude, or rename.
Flattened object.
The client that instantiated this