Class: TD::Types::GroupCallParticipant
- Defined in:
- lib/tdlib/types/group_call_participant.rb
Overview
Represents a group call participant.
Instance Attribute Summary collapse
-
#audio_source_id ⇒ Integer
User’s audio channel synchronization source identifier.
-
#bio ⇒ TD::Types::String
The participant user’s bio or the participant chat’s description.
-
#can_be_muted_for_all_users ⇒ Boolean
True, if the current user can mute the participant for all other group call participants.
-
#can_be_muted_for_current_user ⇒ Boolean
True, if the current user can mute the participant only for self.
-
#can_be_unmuted_for_all_users ⇒ Boolean
True, if the current user can allow the participant to unmute themselves or unmute the participant (if the participant is the current user).
-
#can_be_unmuted_for_current_user ⇒ Boolean
True, if the current user can unmute the participant for self.
-
#can_unmute_self ⇒ Boolean
True, if the participant is muted for all users, but can unmute themselves.
-
#is_current_user ⇒ Boolean
True, if the participant is the current user.
-
#is_hand_raised ⇒ Boolean
True, if the participant hand is raised.
-
#is_muted_for_all_users ⇒ Boolean
True, if the participant is muted for all users.
-
#is_muted_for_current_user ⇒ Boolean
True, if the participant is muted for the current user.
-
#is_speaking ⇒ Boolean
True, if the participant is speaking as set by setGroupCallParticipantIsSpeaking.
-
#order ⇒ TD::Types::String
User’s order in the group call participant list.
-
#participant_id ⇒ TD::Types::MessageSender
Identifier of the group call participant.
-
#screen_sharing_audio_source_id ⇒ Integer
User’s screen sharing audio channel synchronization source identifier.
-
#screen_sharing_video_info ⇒ TD::Types::GroupCallParticipantVideoInfo?
Information about user’s screen sharing video channel; may be null if there is no active screen sharing video.
-
#video_info ⇒ TD::Types::GroupCallParticipantVideoInfo?
Information about user’s video channel; may be null if there is no active video.
-
#volume_level ⇒ Integer
Participant’s volume level; 1-20000 in hundreds of percents.
Method Summary
Methods inherited from Base
Instance Attribute Details
#audio_source_id ⇒ Integer
User’s audio channel synchronization source identifier.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def audio_source_id @audio_source_id end |
#bio ⇒ TD::Types::String
The participant user’s bio or the participant chat’s description.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def bio @bio end |
#can_be_muted_for_all_users ⇒ Boolean
True, if the current user can mute the participant for all other group call participants.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def can_be_muted_for_all_users @can_be_muted_for_all_users end |
#can_be_muted_for_current_user ⇒ Boolean
True, if the current user can mute the participant only for self.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def can_be_muted_for_current_user @can_be_muted_for_current_user end |
#can_be_unmuted_for_all_users ⇒ Boolean
True, if the current user can allow the participant to unmute themselves or unmute the participant (if the participant is the current user).
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def can_be_unmuted_for_all_users @can_be_unmuted_for_all_users end |
#can_be_unmuted_for_current_user ⇒ Boolean
True, if the current user can unmute the participant for self.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def can_be_unmuted_for_current_user @can_be_unmuted_for_current_user end |
#can_unmute_self ⇒ Boolean
True, if the participant is muted for all users, but can unmute themselves.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def can_unmute_self @can_unmute_self end |
#is_current_user ⇒ Boolean
True, if the participant is the current user.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def is_current_user @is_current_user end |
#is_hand_raised ⇒ Boolean
True, if the participant hand is raised.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def is_hand_raised @is_hand_raised end |
#is_muted_for_all_users ⇒ Boolean
True, if the participant is muted for all users.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def is_muted_for_all_users @is_muted_for_all_users end |
#is_muted_for_current_user ⇒ Boolean
True, if the participant is muted for the current user.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def is_muted_for_current_user @is_muted_for_current_user end |
#is_speaking ⇒ Boolean
True, if the participant is speaking as set by setGroupCallParticipantIsSpeaking.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def is_speaking @is_speaking end |
#order ⇒ TD::Types::String
User’s order in the group call participant list. Orders must be compared lexicographically. The bigger is order, the higher is user in the list. If order is empty, the user must be removed from the participant list.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def order @order end |
#participant_id ⇒ TD::Types::MessageSender
Identifier of the group call participant.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def participant_id @participant_id end |
#screen_sharing_audio_source_id ⇒ Integer
User’s screen sharing audio channel synchronization source identifier.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def screen_sharing_audio_source_id @screen_sharing_audio_source_id end |
#screen_sharing_video_info ⇒ TD::Types::GroupCallParticipantVideoInfo?
Information about user’s screen sharing video channel; may be null if there is no active screen sharing video.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def screen_sharing_video_info @screen_sharing_video_info end |
#video_info ⇒ TD::Types::GroupCallParticipantVideoInfo?
Information about user’s video channel; may be null if there is no active video.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def video_info @video_info end |
#volume_level ⇒ Integer
Participant’s volume level; 1-20000 in hundreds of percents.
30 31 32 |
# File 'lib/tdlib/types/group_call_participant.rb', line 30 def volume_level @volume_level end |