Sha256: bb720d8e7d45e41e37d91273bf846d08def8d7d8c487a5eacf238d4f45df58e7

Contents?: true

Size: 750 Bytes

Versions: 2

Compression:

Stored size: 750 Bytes

Contents

module TD::Types
  # Contains information about a country.
  #
  # @attr country_code [TD::Types::String] A two-letter ISO 3166-1 alpha-2 country code.
  # @attr name [TD::Types::String] Native name of the country.
  # @attr english_name [TD::Types::String] English name of the country.
  # @attr is_hidden [Boolean] True, if the country should be hidden from the list of all countries.
  # @attr calling_codes [Array<TD::Types::String>] List of country calling codes.
  class CountryInfo < Base
    attribute :country_code, TD::Types::String
    attribute :name, TD::Types::String
    attribute :english_name, TD::Types::String
    attribute :is_hidden, TD::Types::Bool
    attribute :calling_codes, TD::Types::Array.of(TD::Types::String)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/country_info.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/country_info.rb