class
TelegramBot::LocationAddress
- TelegramBot::LocationAddress
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/story.crConstructors
- .new(pull : JSON::PullParser)
- .new(country_code : String, *, state : String | Nil = nil, city : String | Nil = nil, street : String | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #city : String | Nil
- #city=(city : String | Nil)
- #country_code : String
- #country_code=(country_code : String)
- #state : String | Nil
- #state=(state : String | Nil)
- #street : String | Nil
- #street=(street : String | Nil)
Constructor Detail
def self.new(country_code : String, *, state : String | Nil = nil, city : String | Nil = nil, street : String | Nil = nil)
#