telegram.PersonalDetails¶
-
class
telegram.PersonalDetails(first_name: str, last_name: str, birth_date: str, gender: str, country_code: str, residence_country_code: str, first_name_native: str = None, last_name_native: str = None, middle_name: str = None, middle_name_native: str = None, bot: Bot = None, **_kwargs: Any)¶ Bases:
telegram.base.TelegramObjectThis object represents personal details.
-
first_name¶ First Name.
- Type
str
-
middle_name¶ Optional. First Name.
- Type
str
-
last_name¶ Last Name.
- Type
str
-
birth_date¶ Date of birth in DD.MM.YYYY format.
- Type
str
-
gender¶ Gender, male or female.
- Type
str
-
country_code¶ Citizenship (ISO 3166-1 alpha-2 country code).
- Type
str
-
residence_country_code¶ Country of residence (ISO 3166-1 alpha-2 country code).
- Type
str
-
first_name_native¶ First Name in the language of the user’s country of residence.
- Type
str
-
middle_name_native¶ Optional. Middle Name in the language of the user’s country of residence.
- Type
str
-
last_name_native¶ Last Name in the language of the user’s country of residence.
- Type
str
-