class TD::UserFullInfo

Included Modules

Defined in:

telegram/types/user_full_info.cr

Constructors

Instance Method Summary

Instance methods inherited from class TD::Base

extract_abstract_type(__json : JSON::Any) extract_abstract_type, extract_type(__json : JSON::Any, class_type : Class) extract_type

Macros inherited from class TD::Base

object_attributes(type) object_attributes, object_type(type) object_type

Constructor Detail

def self.new(photo : Union(TD::ChatPhoto, Nil), bio : String, share_text : String, description : String, group_in_common_count : Int32, commands : Array(TD::BotCommand), is_blocked : Bool = false, can_be_called : Bool = false, supports_video_calls : Bool = false, has_private_calls : Bool = false, has_private_forwards : Bool = false, need_phone_number_privacy_exception : Bool = false) #

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

[View source]
def self.new(__json : JSON::Any | Nil = nil) #

[View source]

Instance Method Detail

def bio : String #

def bio=(bio : String) #

def can_be_called : Bool #

def can_be_called=(can_be_called : Bool) #

def commands : Array(TD::BotCommand) #

def commands=(commands : Array(TD::BotCommand)) #

def description : String #

def description=(description : String) #

def group_in_common_count : Int32 #

def group_in_common_count=(group_in_common_count : Int32) #

def has_private_calls : Bool #

def has_private_calls=(has_private_calls : Bool) #

def has_private_forwards : Bool #

def has_private_forwards=(has_private_forwards : Bool) #

def is_blocked : Bool #

def is_blocked=(is_blocked : Bool) #

def need_phone_number_privacy_exception : Bool #

def need_phone_number_privacy_exception=(need_phone_number_privacy_exception : Bool) #

def object_type : String #

def object_type=(object_type : String) #

def photo : TD::ChatPhoto? #

def photo=(photo : Nil | TD::ChatPhoto) #

def share_text : String #

def share_text=(share_text : String) #

def supports_video_calls : Bool #

def supports_video_calls=(supports_video_calls : Bool) #