User
class Tourmaline::User
inherits Reference
#
This object represents a Telegram user or bot.##
Included modules#
JSON::Serializable
Tourmaline::Model
Class methods#
.new(pull : JSON::PullParser)
#
(pull : JSON::PullParser)
Methods#
#add_sticker_to_set(name, png_sticker, emojis, mask_position = nil)
#
(name, png_sticker, emojis, mask_position = nil)
#can_join_groups : Bool?
#
: Bool?
#can_read_all_group_messages : Bool?
#
: Bool?
#client : Tourmaline::Client
#
: Tourmaline::Client
#client=(client : Tourmaline::Client)
#
(client : Tourmaline::Client)
#client? : Tourmaline::Client?
#
: Tourmaline::Client?
#create_new_sticker_set(name, title, png_sticker, emojis, **kwargs)
#
(name, title, png_sticker, emojis, **kwargs)
#first_name : String
#
: String
#full_name
#
#get_game_high_scores(**kwargs)
#
(**kwargs)
#id : Int64
#
: Int64
#inline_mention
#
#is_bot : Bool
#
: Bool
#language_code : String?
#
: String?
#last_name : String?
#
: String?
#profile_photos(offset = nil, limit = nil)
#
(offset = nil, limit = nil)
#set_game_score(score, **kwargs)
#
(score, **kwargs)
#supports_inline_queries : Bool?
#
: Bool?
#upload_sticker_file(png_sticker)
#
(png_sticker)
#username : String?
#
: String?