@@ -53,18 +53,18 @@ class PassportElementErrorDataField(PassportElementError):
5353 Attributes:
5454 type (:obj:`str`): The section of the user's Telegram Passport which has the error, one of
5555 "personal_details", "passport", "driver_license", "identity_card", "internal_passport",
56- "address"
57- field_name (:obj:`str`): Name of the data field which has the error
58- data_hash (:obj:`str`): Base64-encoded data hash
59- message (:obj:`str`): Error message
56+ "address".
57+ field_name (:obj:`str`): Name of the data field which has the error.
58+ data_hash (:obj:`str`): Base64-encoded data hash.
59+ message (:obj:`str`): Error message.
6060
6161 Args:
6262 type (:obj:`str`): The section of the user's Telegram Passport which has the error, one of
6363 "personal_details", "passport", "driver_license", "identity_card", "internal_passport",
64- "address"
65- field_name (:obj:`str`): Name of the data field which has the error
66- data_hash (:obj:`str`): Base64-encoded data hash
67- message (:obj:`str`): Error message
64+ "address".
65+ field_name (:obj:`str`): Name of the data field which has the error.
66+ data_hash (:obj:`str`): Base64-encoded data hash.
67+ message (:obj:`str`): Error message.
6868 **kwargs (:obj:`dict`): Arbitrary keyword arguments.
6969
7070 """
@@ -91,16 +91,16 @@ class PassportElementErrorFile(PassportElementError):
9191 Attributes:
9292 type (:obj:`str`): The section of the user's Telegram Passport which has the issue, one of
9393 "utility_bill", "bank_statement", "rental_agreement", "passport_registration",
94- "temporary_registration"
95- file_hash (:obj:`str`): Base64-encoded file hash
96- message (:obj:`str`): Error message
94+ "temporary_registration".
95+ file_hash (:obj:`str`): Base64-encoded file hash.
96+ message (:obj:`str`): Error message.
9797
9898 Args:
9999 type (:obj:`str`): The section of the user's Telegram Passport which has the issue, one of
100100 "utility_bill", "bank_statement", "rental_agreement", "passport_registration",
101- "temporary_registration"
102- file_hash (:obj:`str`): Base64-encoded file hash
103- message (:obj:`str`): Error message
101+ "temporary_registration".
102+ file_hash (:obj:`str`): Base64-encoded file hash.
103+ message (:obj:`str`): Error message.
104104 **kwargs (:obj:`dict`): Arbitrary keyword arguments.
105105
106106 """
@@ -125,16 +125,16 @@ class PassportElementErrorFiles(PassportElementError):
125125 Attributes:
126126 type (:obj:`str`): The section of the user's Telegram Passport which has the issue, one of
127127 "utility_bill", "bank_statement", "rental_agreement", "passport_registration",
128- "temporary_registration"
129- file_hash (:obj:`str`): Base64-encoded data hash
130- message (:obj:`str`): Error message
128+ "temporary_registration".
129+ file_hash (:obj:`str`): Base64-encoded file hash.
130+ message (:obj:`str`): Error message.
131131
132132 Args:
133133 type (:obj:`str`): The section of the user's Telegram Passport which has the issue, one of
134134 "utility_bill", "bank_statement", "rental_agreement", "passport_registration",
135- "temporary_registration"
136- file_hashes (List[:obj:`str`]): List of base64-encoded file hashes
137- message (:obj:`str`): Error message
135+ "temporary_registration".
136+ file_hashes (List[:obj:`str`]): List of base64-encoded file hashes.
137+ message (:obj:`str`): Error message.
138138 **kwargs (:obj:`dict`): Arbitrary keyword arguments.
139139
140140 """
@@ -159,15 +159,17 @@ class PassportElementErrorFrontSide(PassportElementError):
159159
160160 Attributes:
161161 type (:obj:`str`): The section of the user's Telegram Passport which has the issue, one of
162- "passport", "driver_license", "identity_card", "internal_passport"
163- file_hash (:obj:`str`): Base64-encoded hash of the file with the front side of the document
164- message (:obj:`str`): Error message
162+ "passport", "driver_license", "identity_card", "internal_passport".
163+ file_hash (:obj:`str`): Base64-encoded hash of the file with the front side of the
164+ document.
165+ message (:obj:`str`): Error message.
165166
166167 Args:
167168 type (:obj:`str`): The section of the user's Telegram Passport which has the issue, one of
168- "passport", "driver_license", "identity_card", "internal_passport"
169- file_hash (:obj:`str`): Base64-encoded hash of the file with the front side of the document
170- message (:obj:`str`): Error message
169+ "passport", "driver_license", "identity_card", "internal_passport".
170+ file_hash (:obj:`str`): Base64-encoded hash of the file with the front side of the
171+ document.
172+ message (:obj:`str`): Error message.
171173 **kwargs (:obj:`dict`): Arbitrary keyword arguments.
172174
173175 """
@@ -191,17 +193,17 @@ class PassportElementErrorReverseSide(PassportElementError):
191193
192194 Attributes:
193195 type (:obj:`str`): The section of the user's Telegram Passport which has the issue, one of
194- "passport", "driver_license", "identity_card", "internal_passport"
196+ "passport", "driver_license", "identity_card", "internal_passport".
195197 file_hash (:obj:`str`): Base64-encoded hash of the file with the reverse side of the
196- document
197- message (:obj:`str`): Error message
198+ document.
199+ message (:obj:`str`): Error message.
198200
199201 Args:
200202 type (:obj:`str`): The section of the user's Telegram Passport which has the issue, one of
201- "driver_license", "identity_card"
203+ "driver_license", "identity_card".
202204 file_hash (:obj:`str`): Base64-encoded hash of the file with the reverse side of the
203- document
204- message (:obj:`str`): Error message
205+ document.
206+ message (:obj:`str`): Error message.
205207 **kwargs (:obj:`dict`): Arbitrary keyword arguments.
206208
207209 """
@@ -225,15 +227,15 @@ class PassportElementErrorSelfie(PassportElementError):
225227
226228 Attributes:
227229 type (:obj:`str`): The section of the user's Telegram Passport which has the issue, one of
228- "passport", "driver_license", "identity_card", "internal_passport"
229- file_hash (:obj:`str`): Base64-encoded hash of the file with the selfie
230- message (:obj:`str`): Error message
230+ "passport", "driver_license", "identity_card", "internal_passport".
231+ file_hash (:obj:`str`): Base64-encoded hash of the file with the selfie.
232+ message (:obj:`str`): Error message.
231233
232234 Args:
233235 type (:obj:`str`): The section of the user's Telegram Passport which has the issue, one of
234- "passport", "driver_license", "identity_card", "internal_passport"
235- file_hash (:obj:`str`): Base64-encoded hash of the file with the selfie
236- message (:obj:`str`): Error message
236+ "passport", "driver_license", "identity_card", "internal_passport".
237+ file_hash (:obj:`str`): Base64-encoded hash of the file with the selfie.
238+ message (:obj:`str`): Error message.
237239 **kwargs (:obj:`dict`): Arbitrary keyword arguments.
238240
239241 """
0 commit comments