View Source ExTDLib.Object.PersonalDetails (ExTDLib v0.0.4)

Contains the user's personal details.

NameTypeDescription
first_namestringFirst name of the user written in English; 1-255 characters.
middle_namestringMiddle name of the user written in English; 0-255 characters.
last_namestringLast name of the user written in English; 1-255 characters.
native_first_namestringNative first name of the user; 1-255 characters.
native_middle_namestringNative middle name of the user; 0-255 characters.
native_last_namestringNative last name of the user; 1-255 characters.
birthdatedateBirthdate of the user.
genderstringGender of the user, "male" or "female".
country_codestringA two-letter ISO 3166-1 alpha-2 country code of the user's country.
residence_country_codestringA two-letter ISO 3166-1 alpha-2 country code of the user's residence country.

More details on telegram's documentation.