class TelegramBot::User
- TelegramBot::User
- Reference
- Object
Defined in:
telegram_bot/types/user.crConstant Summary
-
FIELDS =
{id: Int32, is_bot: Bool, first_name: String, last_name: {type: String, nilable: true}, username: {type: String, nilable: true}, language_code: {type: String, nilable: true}}
Constructors
Constructor Detail
def self.new(id : Int32, is_bot : Bool, first_name : String, last_name : String | Nil = nil, username : String | Nil = nil, language_code : String | Nil = nil)
#