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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def can_join_groups=(can_join_groups : Bool | Nil) #

[View source]
def can_join_groups? : Bool | Nil #

[View source]
def can_read_all_group_messages=(can_read_all_group_messages : Bool | Nil) #

[View source]
def can_read_all_group_messages? : Bool | Nil #

[View source]
def first_name : String #

[View source]
def first_name=(first_name : String) #

[View source]
def id : Int64 #

[View source]
def id=(id : Int64) #

[View source]
def is_bot=(is_bot : Bool) #

[View source]
def is_bot? : Bool #

[View source]
def language_code : String | Nil #

[View source]
def language_code=(language_code : String | Nil) #

[View source]
def last_name : String | Nil #

[View source]
def last_name=(last_name : String | Nil) #

[View source]
def supports_inline_queries=(supports_inline_queries : Bool | Nil) #

[View source]
def supports_inline_queries? : Bool | Nil #

[View source]
def username : String | Nil #

[View source]
def username=(username : String | Nil) #

[View source]