telegram.PersonalDetails#

class telegram.PersonalDetails(*args, **kwargs)[source]#

Bases: telegram.TelegramObject

This object represents personal details.

first_name[source]#

First Name.

Type

str

middle_name[source]#

Optional. First Name.

Type

str

last_name[source]#

Last Name.

Type

str

birth_date[source]#

Date of birth in DD.MM.YYYY format.

Type

str

gender[source]#

Gender, male or female.

Type

str

country_code[source]#

Citizenship (ISO 3166-1 alpha-2 country code).

Type

str

residence_country_code[source]#

Country of residence (ISO 3166-1 alpha-2 country code).

Type

str

first_name_native[source]#

First Name in the language of the user’s country of residence.

Type

str

middle_name_native[source]#

Optional. Middle Name in the language of the user’s country of residence.

Type

str

last_name_native[source]#

Last Name in the language of the user’s country of residence.

Type

str