TelegramBot::User
Inherits JSON::Serializable < Reference < Object
Constructors
new(id : Int64, is_bot : Bool, first_name : String, *, last_name : Nil | String = nil, username : Nil | String = nil, language_code : Nil | String = nil, can_join_groups : Bool | Nil = nil, can_read_all_group_messages : Bool | Nil = nil, supports_inline_queries : Bool | Nil = nil, supports_guest_queries : Bool | Nil = nil, can_manage_bots : Bool | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
can_join_groups?
Sourcecan_manage_bots?
Sourcecan_read_all_group_messages?
Sourcefirst_name
Sourceid
Sourceis_bot?
Sourcelanguage_code
Sourcelast_name
Sourcesupports_guest_queries?
Sourcesupports_inline_queries?
Sourceusername
Source