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

#bioTD::Types::String

The participant user’s bio or the participant chat’s description.

Returns:

  • (TD::Types::String)

    the current value of bio



24
25
26
# File 'lib/tdlib/types/group_call_participant.rb', line 24

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.

Returns:

  • (Boolean)

    the current value of can_be_muted_for_all_users



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_userBoolean

True, if the current user can mute the participant only for self.

Returns:

  • (Boolean)

    the current value of can_be_muted_for_current_user



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_usersBoolean

True, if the current user can allow the participant to unmute themself or unmute the participant (if the participant is the current user).

Returns:

  • (Boolean)

    the current value of can_be_unmuted_for_all_users



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_userBoolean

True, if the current user can unmute the participant for self.

Returns:

  • (Boolean)

    the current value of can_be_unmuted_for_current_user



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_selfBoolean

True, if the participant is muted for all users, but can unmute themself.

Returns:

  • (Boolean)

    the current value of can_unmute_self



24
25
26
# File 'lib/tdlib/types/group_call_participant.rb', line 24

def can_unmute_self
  @can_unmute_self
end

#is_current_userBoolean

True, if the participant is the current user.

Returns:

  • (Boolean)

    the current value of is_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_raisedBoolean

True, if the participant hand is raised.

Returns:

  • (Boolean)

    the current value of is_hand_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_usersBoolean

True, if the participant is muted for all users.

Returns:

  • (Boolean)

    the current value of 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_userBoolean

True, if the participant is muted for the current user.

Returns:

  • (Boolean)

    the current value of is_muted_for_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_speakingBoolean

True, if the participant is speaking as set by setGroupCallParticipantIsSpeaking.

Returns:

  • (Boolean)

    the current value of is_speaking



24
25
26
# File 'lib/tdlib/types/group_call_participant.rb', line 24

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.

Returns:

  • (TD::Types::String)

    the current value of order



24
25
26
# File 'lib/tdlib/types/group_call_participant.rb', line 24

def order
  @order
end

#participant_idTD::Types::MessageSender

Identifier of the group call participant.

Returns:



24
25
26
# File 'lib/tdlib/types/group_call_participant.rb', line 24

def participant_id
  @participant_id
end

#sourceInteger

User’s synchronization source.

Returns:

  • (Integer)

    the current value of source



24
25
26
# File 'lib/tdlib/types/group_call_participant.rb', line 24

def source
  @source
end

#volume_levelInteger

Participant’s volume level; 1-20000 in hundreds of percents.

Returns:

  • (Integer)

    the current value of volume_level



24
25
26
# File 'lib/tdlib/types/group_call_participant.rb', line 24

def volume_level
  @volume_level
end