class
TD::CountryInfo
- TD::CountryInfo
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/country_info.crConstructors
- .new(country_code : String, name : String, english_name : String, calling_codes : Array(String), is_hidden : Bool = false)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #calling_codes : Array(String)
- #calling_codes=(calling_codes : Array(String))
- #country_code : String
- #country_code=(country_code : String)
- #english_name : String
- #english_name=(english_name : String)
- #is_hidden : Bool
- #is_hidden=(is_hidden : Bool)
- #name : String
- #name=(name : String)
- #object_type : String
- #object_type=(object_type : String)