class TelegramBot::Models::User
- TelegramBot::Models::User
- TelegramBot::Models::Base
- Reference
- Object
Overview
https://core.telegram.org/bots/api#user
Defined in:
telegram_bot/models.crConstructors
-
.new(pull : JSON::PullParser)
https://core.telegram.org/bots/api#user
Instance Method Summary
- #first_name : String
- #first_name=(first_name : String)
- #id : Int32
- #id=(id : Int32)
- #is_bot : Bool
- #is_bot=(is_bot : Bool)
- #language_code : String | Nil
- #language_code=(language_code : String | Nil)
- #last_name : String | Nil
- #last_name=(last_name : String | Nil)
- #username : String | Nil
- #username=(username : String | Nil)