class Tourmaline::User

Overview

This object represents a Telegram user or bot.

Included Modules

Defined in:

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def add_sticker_to_set(name, png_sticker, emojis, mask_position = nil) #

def can_join_groups : Bool? #

def can_read_all_group_messages : Bool? #

def client : Tourmaline::Client #

def client=(client : Tourmaline::Client) #

def client? : Tourmaline::Client? #

def create_new_sticker_set(name, title, png_sticker, emojis, **kwargs) #

def first_name : String #

def full_name #

def get_game_high_scores(**kwargs) #

def id : Int64 #

def inline_mention #

def is_bot : Bool #

def language_code : String? #

def last_name : String? #

def profile_photos(offset = nil, limit = nil) #

def set_game_score(score, **kwargs) #

def supports_inline_queries : Bool? #

def upload_sticker_file(png_sticker) #

def username : String? #