Class: TD::Types::PersonalDetails
- Defined in:
- lib/tdlib/types/personal_details.rb
Overview
Contains the user’s personal details.
Instance Attribute Summary collapse
-
#birthdate ⇒ TD::Types::Date
Birthdate of the user.
-
#country_code ⇒ TD::Types::String
A two-letter ISO 3166-1 alpha-2 country code of the user’s country.
-
#first_name ⇒ TD::Types::String
First name of the user written in English; 1-255 characters.
-
#gender ⇒ TD::Types::String
Gender of the user, “male” or “female”.
-
#last_name ⇒ TD::Types::String
Last name of the user written in English; 1-255 characters.
-
#middle_name ⇒ TD::Types::String
Middle name of the user written in English; 0-255 characters.
-
#native_first_name ⇒ TD::Types::String
Native first name of the user; 1-255 characters.
-
#native_last_name ⇒ TD::Types::String
Native last name of the user; 1-255 characters.
-
#native_middle_name ⇒ TD::Types::String
Native middle name of the user; 0-255 characters.
-
#residence_country_code ⇒ TD::Types::String
A two-letter ISO 3166-1 alpha-2 country code of the user’s residence country.
Method Summary
Methods inherited from Base
Instance Attribute Details
#birthdate ⇒ TD::Types::Date
Birthdate of the user.
15 16 17 |
# File 'lib/tdlib/types/personal_details.rb', line 15 def birthdate @birthdate end |
#country_code ⇒ TD::Types::String
A two-letter ISO 3166-1 alpha-2 country code of the user’s country.
15 16 17 |
# File 'lib/tdlib/types/personal_details.rb', line 15 def country_code @country_code end |
#first_name ⇒ TD::Types::String
First name of the user written in English; 1-255 characters.
15 16 17 |
# File 'lib/tdlib/types/personal_details.rb', line 15 def first_name @first_name end |
#gender ⇒ TD::Types::String
Gender of the user, “male” or “female”.
15 16 17 |
# File 'lib/tdlib/types/personal_details.rb', line 15 def gender @gender end |
#last_name ⇒ TD::Types::String
Last name of the user written in English; 1-255 characters.
15 16 17 |
# File 'lib/tdlib/types/personal_details.rb', line 15 def last_name @last_name end |
#middle_name ⇒ TD::Types::String
Middle name of the user written in English; 0-255 characters.
15 16 17 |
# File 'lib/tdlib/types/personal_details.rb', line 15 def middle_name @middle_name end |
#native_first_name ⇒ TD::Types::String
Native first name of the user; 1-255 characters.
15 16 17 |
# File 'lib/tdlib/types/personal_details.rb', line 15 def native_first_name @native_first_name end |
#native_last_name ⇒ TD::Types::String
Native last name of the user; 1-255 characters.
15 16 17 |
# File 'lib/tdlib/types/personal_details.rb', line 15 def native_last_name @native_last_name end |
#native_middle_name ⇒ TD::Types::String
Native middle name of the user; 0-255 characters.
15 16 17 |
# File 'lib/tdlib/types/personal_details.rb', line 15 def native_middle_name @native_middle_name end |
#residence_country_code ⇒ TD::Types::String
A two-letter ISO 3166-1 alpha-2 country code of the user’s residence country.
15 16 17 |
# File 'lib/tdlib/types/personal_details.rb', line 15 def residence_country_code @residence_country_code end |