telegram.PassportElementError¶
-
class
telegram.PassportElementError(source, type, message, **kwargs)¶ Bases:
telegram.base.TelegramObjectBaseclass for the PassportElementError* classes.
-
source¶ str– Error source.
-
type¶ str– The section of the user’s Telegram Passport which has the error.
-
message¶ str– Error message
Parameters: - source (
str) – Error source. - type (
str) – The section of the user’s Telegram Passport which has the error. - **kwargs (
dict) – Arbitrary keyword arguments.
-