Doc Fixes

This commit is contained in:
Hinrich Mahler 2020-04-10 23:43:58 +02:00
parent 0a9f4bfbdd
commit fe821c08e6
2 changed files with 6 additions and 4 deletions

View file

@ -428,7 +428,7 @@ class Dispatcher(object):
"""Update :attr:`user_data`, :attr:`chat_data` and :attr:`bot_data` in :attr:`persistence`.
Args:
update (:class:`telegram.Update`, optional): The update to process. If passed, only the
update (:class:`telegram.Update`, optional): The update to process. If passed, only the
corresponding ``user_data`` and ``chat_data`` will be updated.
"""
if self.persistence:

View file

@ -32,10 +32,12 @@ class PersonalDetails(TelegramObject):
country_code (:obj:`str`): Citizenship (ISO 3166-1 alpha-2 country code).
residence_country_code (:obj:`str`): Country of residence (ISO 3166-1 alpha-2 country
code).
first_name (:obj:`str`): First Name in the language of the user's country of residence.
middle_name (:obj:`str`): Optional. Middle Name in the language of the user's country of
first_name_native (:obj:`str`): First Name in the language of the user's country of
residence.
middle_name_native (:obj:`str`): Optional. Middle Name in the language of the user's
country of residence.
last_name_native (:obj:`str`): Last Name in the language of the user's country of
residence.
last_name (:obj:`str`): Last Name in the language of the user's country of residence.
"""
def __init__(self, first_name, last_name, birth_date, gender, country_code,