class TD::GroupCall

Included Modules

Defined in:

telegram/types/group_call.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(id : Int32, title : String, scheduled_start_date : Int32, participant_count : Int32, recent_speakers : Array(TD::GroupCallRecentSpeaker), record_duration : Int32, duration : Int32, enabled_start_notification : Bool = false, is_active : Bool = false, is_joined : Bool = false, need_rejoin : Bool = false, can_be_managed : Bool = false, loaded_all_participants : Bool = false, is_my_video_enabled : Bool = false, is_my_video_paused : Bool = false, can_enable_video : Bool = false, mute_new_participants : Bool = false, can_toggle_mute_new_participants : Bool = false, is_video_recorded : 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 can_be_managed : Bool #

def can_be_managed=(can_be_managed : Bool) #

def can_enable_video : Bool #

def can_enable_video=(can_enable_video : Bool) #

def can_toggle_mute_new_participants : Bool #

def can_toggle_mute_new_participants=(can_toggle_mute_new_participants : Bool) #

def duration : Int32 #

def duration=(duration : Int32) #

def enabled_start_notification : Bool #

def enabled_start_notification=(enabled_start_notification : Bool) #

def id : Int32 #

def id=(id : Int32) #

def is_active : Bool #

def is_active=(is_active : Bool) #

def is_joined : Bool #

def is_joined=(is_joined : Bool) #

def is_my_video_enabled : Bool #

def is_my_video_enabled=(is_my_video_enabled : Bool) #

def is_my_video_paused : Bool #

def is_my_video_paused=(is_my_video_paused : Bool) #

def is_video_recorded : Bool #

def is_video_recorded=(is_video_recorded : Bool) #

def loaded_all_participants : Bool #

def loaded_all_participants=(loaded_all_participants : Bool) #

def mute_new_participants : Bool #

def mute_new_participants=(mute_new_participants : Bool) #

def need_rejoin : Bool #

def need_rejoin=(need_rejoin : Bool) #

def object_type : String #

def object_type=(object_type : String) #

def participant_count : Int32 #

def participant_count=(participant_count : Int32) #

def recent_speakers : Array(TD::GroupCallRecentSpeaker) #

def recent_speakers=(recent_speakers : Array(TD::GroupCallRecentSpeaker)) #

def record_duration : Int32 #

def record_duration=(record_duration : Int32) #

def scheduled_start_date : Int32 #

def scheduled_start_date=(scheduled_start_date : Int32) #

def title : String #

def title=(title : String) #