Class: TD::Types::GroupCall
- Defined in:
- lib/tdlib/types/group_call.rb
Overview
Describes a group call.
Instance Attribute Summary collapse
-
#can_be_managed ⇒ Boolean
True, if the current user can manage the group call.
-
#can_change_mute_new_participants ⇒ Boolean
True, if the current user can enable or disable mute_new_participants setting.
-
#duration ⇒ Integer
Call duration; for ended calls only.
-
#enabled_start_notification ⇒ Boolean
True, if the group call is scheduled and the current user will receive a notification when the group call will start.
-
#id ⇒ Integer
Group call identifier.
-
#is_active ⇒ Boolean
True, if the call is active.
-
#is_joined ⇒ Boolean
True, if the call is joined.
-
#loaded_all_participants ⇒ Boolean
True, if all group call participants are loaded.
-
#mute_new_participants ⇒ Boolean
True, if only group call administrators can unmute new participants.
-
#need_rejoin ⇒ Boolean
True, if user was kicked from the call because of network loss and the call needs to be rejoined.
-
#participant_count ⇒ Integer
Number of participants in the group call.
-
#recent_speakers ⇒ Array<TD::Types::GroupCallRecentSpeaker>
Recently speaking users in the group call.
-
#record_duration ⇒ Integer
Duration of the ongoing group call recording, in seconds; 0 if none.
-
#scheduled_start_date ⇒ Integer
Point in time (Unix timestamp) when the group call is supposed to be started by an administrator; 0 if it is already active or was ended.
-
#title ⇒ TD::Types::String
Group call title.
Method Summary
Methods inherited from Base
Instance Attribute Details
#can_be_managed ⇒ Boolean
True, if the current user can manage the group call.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def can_be_managed @can_be_managed end |
#can_change_mute_new_participants ⇒ Boolean
True, if the current user can enable or disable mute_new_participants setting.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def can_change_mute_new_participants @can_change_mute_new_participants end |
#duration ⇒ Integer
Call duration; for ended calls only.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def duration @duration end |
#enabled_start_notification ⇒ Boolean
True, if the group call is scheduled and the current user will receive a notification when the group call will start.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def enabled_start_notification @enabled_start_notification end |
#id ⇒ Integer
Group call identifier.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def id @id end |
#is_active ⇒ Boolean
True, if the call is active.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def is_active @is_active end |
#is_joined ⇒ Boolean
True, if the call is joined.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def is_joined @is_joined end |
#loaded_all_participants ⇒ Boolean
True, if all group call participants are loaded.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def loaded_all_participants @loaded_all_participants end |
#mute_new_participants ⇒ Boolean
True, if only group call administrators can unmute new participants.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def mute_new_participants @mute_new_participants end |
#need_rejoin ⇒ Boolean
True, if user was kicked from the call because of network loss and the call needs to be rejoined.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def need_rejoin @need_rejoin end |
#participant_count ⇒ Integer
Number of participants in the group call.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def participant_count @participant_count end |
#recent_speakers ⇒ Array<TD::Types::GroupCallRecentSpeaker>
Recently speaking users in the group call.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def recent_speakers @recent_speakers end |
#record_duration ⇒ Integer
Duration of the ongoing group call recording, in seconds; 0 if none. An Update::GroupCall update is not triggered when value of this field changes, but the same recording goes on.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def record_duration @record_duration end |
#scheduled_start_date ⇒ Integer
Point in time (Unix timestamp) when the group call is supposed to be started by an administrator; 0 if it is already active or was ended.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def scheduled_start_date @scheduled_start_date end |
#title ⇒ TD::Types::String
Group call title.
25 26 27 |
# File 'lib/tdlib/types/group_call.rb', line 25 def title @title end |