class TelegramBot::User

Included Modules

Defined in:

telegram_bot/types/user.cr

Constructors

Instance Method Summary

Constructor Detail

def self.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) #

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

Instance Method Detail

def can_join_groups=(can_join_groups : Bool | Nil) #

def can_join_groups? : Bool | Nil #

def can_read_all_group_messages=(can_read_all_group_messages : Bool | Nil) #

def can_read_all_group_messages? : Bool | Nil #

def first_name : String #

def first_name=(first_name : String) #

def id : Int64 #

def id=(id : Int64) #

def is_bot=(is_bot : Bool) #

def is_bot? : Bool #

def language_code : String | Nil #

def language_code=(language_code : String | Nil) #

def last_name : String | Nil #

def last_name=(last_name : String | Nil) #

def supports_inline_queries=(supports_inline_queries : Bool | Nil) #

def supports_inline_queries? : Bool | Nil #

def username : String | Nil #

def username=(username : String | Nil) #