Skip to content

Commit fe821c0

Browse files
committed
Doc Fixes
1 parent 0a9f4bf commit fe821c0

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

telegram/ext/dispatcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ def update_persistence(self, update=None):
428428
"""Update :attr:`user_data`, :attr:`chat_data` and :attr:`bot_data` in :attr:`persistence`.
429429
430430
Args:
431-
update (:class:`telegram.Update`, optional): The update to process. If passed, only the
431+
update (:class:`telegram.Update`, optional): The update to process. If passed, only the
432432
corresponding ``user_data`` and ``chat_data`` will be updated.
433433
"""
434434
if self.persistence:

telegram/passport/data.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ class PersonalDetails(TelegramObject):
3232
country_code (:obj:`str`): Citizenship (ISO 3166-1 alpha-2 country code).
3333
residence_country_code (:obj:`str`): Country of residence (ISO 3166-1 alpha-2 country
3434
code).
35-
first_name (:obj:`str`): First Name in the language of the user's country of residence.
36-
middle_name (:obj:`str`): Optional. Middle Name in the language of the user's country of
35+
first_name_native (:obj:`str`): First Name in the language of the user's country of
36+
residence.
37+
middle_name_native (:obj:`str`): Optional. Middle Name in the language of the user's
38+
country of residence.
39+
last_name_native (:obj:`str`): Last Name in the language of the user's country of
3740
residence.
38-
last_name (:obj:`str`): Last Name in the language of the user's country of residence.
3941
"""
4042

4143
def __init__(self, first_name, last_name, birth_date, gender, country_code,

0 commit comments

Comments
 (0)