class Tourmaline::User
- Tourmaline::User
- Reference
- Object
Overview
This object represents a Telegram user or bot.
Included Modules
- JSON::Serializable
- Tourmaline::Model
Defined in:
tourmaline/models/user.crConstructors
Instance Method Summary
- #add_sticker_to_set(name, png_sticker, emojis, mask_position = nil)
- #can_join_groups : Bool | Nil
- #can_read_all_group_messages : Bool | Nil
- #create_new_sticker_set(name, title, png_sticker, emojis, **kwargs)
- #first_name : String
- #full_name
- #get_game_high_scores(**kwargs)
- #id : Int64
- #inline_mention
- #is_bot : Bool
-
#is_scam? : Bool | Nil
USER API ONLY
-
#is_verified? : Bool | Nil
USER API ONLY
- #language_code : String | Nil
- #last_name : String | Nil
- #profile_photos(offset = nil, limit = nil)
- #set_game_score(score, **kwargs)
- #supports_inline_queries : Bool | Nil
- #upload_sticker_file(png_sticker)
- #username : String | Nil