mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 22:45:09 +01:00
Doc Fixes
This commit is contained in:
parent
0a9f4bfbdd
commit
fe821c08e6
2 changed files with 6 additions and 4 deletions
|
@ -428,7 +428,7 @@ class Dispatcher(object):
|
||||||
"""Update :attr:`user_data`, :attr:`chat_data` and :attr:`bot_data` in :attr:`persistence`.
|
"""Update :attr:`user_data`, :attr:`chat_data` and :attr:`bot_data` in :attr:`persistence`.
|
||||||
|
|
||||||
Args:
|
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.
|
corresponding ``user_data`` and ``chat_data`` will be updated.
|
||||||
"""
|
"""
|
||||||
if self.persistence:
|
if self.persistence:
|
||||||
|
|
|
@ -32,10 +32,12 @@ class PersonalDetails(TelegramObject):
|
||||||
country_code (:obj:`str`): Citizenship (ISO 3166-1 alpha-2 country code).
|
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
|
residence_country_code (:obj:`str`): Country of residence (ISO 3166-1 alpha-2 country
|
||||||
code).
|
code).
|
||||||
first_name (:obj:`str`): First Name in the language of the user's country of residence.
|
first_name_native (:obj:`str`): First Name in the language of the user's country of
|
||||||
middle_name (:obj:`str`): Optional. Middle 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.
|
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,
|
def __init__(self, first_name, last_name, birth_date, gender, country_code,
|
||||||
|
|
Loading…
Reference in a new issue