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_enable_video ⇒ Boolean
True, if the current user can broadcast video or share screen.
-
#can_toggle_mute_new_participants ⇒ Boolean
True, if the current user can enable or disable mute_new_participants setting.
-
#duration ⇒ Integer
Call duration, in seconds; 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 starts.
-
#has_hidden_listeners ⇒ Boolean
True, if group call participants, which are muted, aren’t returned in participant list.
-
#id ⇒ Integer
Group call identifier.
-
#is_active ⇒ Boolean
True, if the call is active.
-
#is_joined ⇒ Boolean
True, if the call is joined.
-
#is_my_video_enabled ⇒ Boolean
True, if the current user’s video is enabled.
-
#is_my_video_paused ⇒ Boolean
True, if the current user’s video is paused.
-
#is_rtmp_stream ⇒ Boolean
True, if the chat is an RTMP stream instead of an ordinary video chat.
-
#is_video_recorded ⇒ Boolean
True, if a video file is being recorded for the call.
-
#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>
At most 3 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.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def can_be_managed @can_be_managed end |
#can_enable_video ⇒ Boolean
True, if the current user can broadcast video or share screen.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def can_enable_video @can_enable_video end |
#can_toggle_mute_new_participants ⇒ Boolean
True, if the current user can enable or disable mute_new_participants setting.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def can_toggle_mute_new_participants @can_toggle_mute_new_participants end |
#duration ⇒ Integer
Call duration, in seconds; for ended calls only.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 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 starts.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def enabled_start_notification @enabled_start_notification end |
#has_hidden_listeners ⇒ Boolean
True, if group call participants, which are muted, aren’t returned in participant list.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def has_hidden_listeners @has_hidden_listeners end |
#id ⇒ Integer
Group call identifier.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def id @id end |
#is_active ⇒ Boolean
True, if the call is active.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def is_active @is_active end |
#is_joined ⇒ Boolean
True, if the call is joined.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def is_joined @is_joined end |
#is_my_video_enabled ⇒ Boolean
True, if the current user’s video is enabled.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def is_my_video_enabled @is_my_video_enabled end |
#is_my_video_paused ⇒ Boolean
True, if the current user’s video is paused.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def is_my_video_paused @is_my_video_paused end |
#is_rtmp_stream ⇒ Boolean
True, if the chat is an RTMP stream instead of an ordinary video chat.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def is_rtmp_stream @is_rtmp_stream end |
#is_video_recorded ⇒ Boolean
True, if a video file is being recorded for the call.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def is_video_recorded @is_video_recorded end |
#loaded_all_participants ⇒ Boolean
True, if all group call participants are loaded.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def loaded_all_participants @loaded_all_participants end |
#mute_new_participants ⇒ Boolean
True, if only group call administrators can unmute new participants.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 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.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def need_rejoin @need_rejoin end |
#participant_count ⇒ Integer
Number of participants in the group call.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def participant_count @participant_count end |
#recent_speakers ⇒ Array<TD::Types::GroupCallRecentSpeaker>
At most 3 recently speaking users in the group call.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 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.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 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.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def scheduled_start_date @scheduled_start_date end |
#title ⇒ TD::Types::String
Group call title.
33 34 35 |
# File 'lib/tdlib/types/group_call.rb', line 33 def title @title end |