Sha256: e790ed6036094a4dfa38ef07be38f6c3a2fce30e662297d736e874e955d42907

Contents?: true

Size: 706 Bytes

Versions: 1

Compression:

Stored size: 706 Bytes

Contents

module TD::Types
  # Contains information about a country.
  #
  # @attr country_code [String] A two-letter ISO 3166-1 alpha-2 country code.
  # @attr name [String] Native name of the country.
  # @attr english_name [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<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

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/country_info.rb