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, is_premium : Bool | Nil =
nil, added_to_attachment_menu : Bool | Nil =
nil, can_join_groups : Bool | Nil =
nil, can_read_all_group_messages : Bool | Nil =
nil, supports_guest_queries : Bool | Nil =
nil, supports_inline_queries : Bool | Nil =
nil, can_connect_to_business : Bool | Nil =
nil, has_main_web_app : Bool | Nil =
nil, has_topics_enabled : Bool | Nil =
nil, allows_users_to_create_topics : Bool | Nil =
nil, can_manage_bots : Bool | Nil =
nil)
#
def self.
new(pull : JSON::PullParser)
#
def self.
new(*, __pull_for_json_serializable pull : JSON::PullParser)
#
def
allows_users_to_create_topics=(allows_users_to_create_topics : Bool | Nil)
#
def
can_connect_to_business=(can_connect_to_business : Bool | Nil)
#
def
can_join_groups=(can_join_groups : Bool | Nil)
#
def
can_manage_bots=(can_manage_bots : Bool | Nil)
#
def
can_read_all_group_messages=(can_read_all_group_messages : Bool | Nil)
#
def
has_main_web_app=(has_main_web_app : Bool | Nil)
#
def
has_topics_enabled=(has_topics_enabled : Bool | Nil)
#
def
is_premium=(is_premium : Bool | Nil)
#
def
language_code=(language_code : String | Nil)
#
def
last_name=(last_name : String | Nil)
#
def
supports_guest_queries=(supports_guest_queries : Bool | Nil)
#
def
supports_inline_queries=(supports_inline_queries : Bool | Nil)
#
def
username=(username : String | Nil)
#