Class: TD::Types::CountryInfo
- Defined in:
- lib/tdlib/types/country_info.rb
Overview
Contains information about a country.
Instance Attribute Summary collapse
-
#calling_codes ⇒ Array<TD::Types::String>
List of country calling codes.
-
#country_code ⇒ TD::Types::String
A two-letter ISO 3166-1 alpha-2 country code.
-
#english_name ⇒ TD::Types::String
English name of the country.
-
#is_hidden ⇒ Boolean
True, if the country must be hidden from the list of all countries.
-
#name ⇒ TD::Types::String
Native name of the country.
Method Summary
Methods inherited from Base
Instance Attribute Details
#calling_codes ⇒ Array<TD::Types::String>
List of country calling codes.
9 10 11 |
# File 'lib/tdlib/types/country_info.rb', line 9 def calling_codes @calling_codes end |
#country_code ⇒ TD::Types::String
A two-letter ISO 3166-1 alpha-2 country code.
9 10 11 |
# File 'lib/tdlib/types/country_info.rb', line 9 def country_code @country_code end |
#english_name ⇒ TD::Types::String
English name of the country.
9 10 11 |
# File 'lib/tdlib/types/country_info.rb', line 9 def english_name @english_name end |
#is_hidden ⇒ Boolean
True, if the country must be hidden from the list of all countries.
9 10 11 |
# File 'lib/tdlib/types/country_info.rb', line 9 def is_hidden @is_hidden end |
#name ⇒ TD::Types::String
Native name of the country.
9 10 11 |
# File 'lib/tdlib/types/country_info.rb', line 9 def name @name end |