class TD::GroupCallParticipant

Included Modules

Defined in:

telegram/types/group_call_participant.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(participant_id : TD::MessageSender, audio_source_id : Int32, screen_sharing_audio_source_id : Int32, video_info : Union(TD::GroupCallParticipantVideoInfo, Nil), screen_sharing_video_info : Union(TD::GroupCallParticipantVideoInfo, Nil), bio : String, volume_level : Int32, order : String, is_current_user : Bool = false, is_speaking : Bool = false, is_hand_raised : Bool = false, can_be_muted_for_all_users : Bool = false, can_be_unmuted_for_all_users : Bool = false, can_be_muted_for_current_user : Bool = false, can_be_unmuted_for_current_user : Bool = false, is_muted_for_all_users : Bool = false, is_muted_for_current_user : Bool = false, can_unmute_self : 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 audio_source_id : Int32 #

def audio_source_id=(audio_source_id : Int32) #

def bio : String #

def bio=(bio : String) #

def can_be_muted_for_all_users : Bool #

def can_be_muted_for_all_users=(can_be_muted_for_all_users : Bool) #

def can_be_muted_for_current_user : Bool #

def can_be_muted_for_current_user=(can_be_muted_for_current_user : Bool) #

def can_be_unmuted_for_all_users : Bool #

def can_be_unmuted_for_all_users=(can_be_unmuted_for_all_users : Bool) #

def can_be_unmuted_for_current_user : Bool #

def can_be_unmuted_for_current_user=(can_be_unmuted_for_current_user : Bool) #

def can_unmute_self : Bool #

def can_unmute_self=(can_unmute_self : Bool) #

def is_current_user : Bool #

def is_current_user=(is_current_user : Bool) #

def is_hand_raised : Bool #

def is_hand_raised=(is_hand_raised : Bool) #

def is_muted_for_all_users : Bool #

def is_muted_for_all_users=(is_muted_for_all_users : Bool) #

def is_muted_for_current_user : Bool #

def is_muted_for_current_user=(is_muted_for_current_user : Bool) #

def is_speaking : Bool #

def is_speaking=(is_speaking : Bool) #

def object_type : String #

def object_type=(object_type : String) #

def order : String #

def order=(order : String) #

def participant_id : TD::MessageSender #

def participant_id=(participant_id : TD::MessageSender) #

def screen_sharing_audio_source_id : Int32 #

def screen_sharing_audio_source_id=(screen_sharing_audio_source_id : Int32) #

def screen_sharing_video_info : TD::GroupCallParticipantVideoInfo? #

def screen_sharing_video_info=(screen_sharing_video_info : Nil | TD::GroupCallParticipantVideoInfo) #


def video_info=(video_info : Nil | TD::GroupCallParticipantVideoInfo) #

def volume_level : Int32 #

def volume_level=(volume_level : Int32) #