Class: TD::Types::GroupCallParticipant
- Defined in:
- lib/tdlib/types/group_call_participant.rb
Overview
Represents a group call participant.
Instance Attribute Summary collapse
-
#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 themself 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 themself.
-
#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.
-
#source ⇒ Integer
User’s synchronization source.
-
#volume_level ⇒ Integer
Participant’s volume level; 1-20000 in hundreds of percents.
Method Summary
Methods inherited from Base
Instance Attribute Details
#bio ⇒ TD::Types::String
The participant user’s bio or the participant chat’s description.
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 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.
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 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.
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 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 themself or unmute the participant (if the participant is the current user).
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 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.
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 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 themself.
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 def can_unmute_self @can_unmute_self end |
#is_current_user ⇒ Boolean
True, if the participant is the current user.
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 def is_current_user @is_current_user end |
#is_hand_raised ⇒ Boolean
True, if the participant hand is raised.
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 def is_hand_raised @is_hand_raised end |
#is_muted_for_all_users ⇒ Boolean
True, if the participant is muted for all users.
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 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.
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 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.
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 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.
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 def order @order end |
#participant_id ⇒ TD::Types::MessageSender
Identifier of the group call participant.
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 def participant_id @participant_id end |
#source ⇒ Integer
User’s synchronization source.
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 def source @source end |
#volume_level ⇒ Integer
Participant’s volume level; 1-20000 in hundreds of percents.
24 25 26 |
# File 'lib/tdlib/types/group_call_participant.rb', line 24 def volume_level @volume_level end |