Class: TD::Types::GroupCallParticipant

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/group_call_participant.rb

Overview

Represents a group call participant.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#audio_source_idInteger

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

#bioTD::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_usersBoolean

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_userBoolean

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_usersBoolean

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_userBoolean

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_selfBoolean

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_userBoolean

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_raisedBoolean

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_usersBoolean

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_userBoolean

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_speakingBoolean

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

#orderTD::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_idTD::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_idInteger

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_infoTD::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_infoTD::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_levelInteger

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