Class: TD::Types::GroupCall

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

Overview

Describes a group call.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#can_be_managedBoolean

True, if the current user can manage the group call.

Returns:

  • (Boolean)

    the current value of can_be_managed



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def can_be_managed
  @can_be_managed
end

#can_change_mute_new_participantsBoolean

True, if the current user can enable or disable mute_new_participants setting.

Returns:

  • (Boolean)

    the current value of can_change_mute_new_participants



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def can_change_mute_new_participants
  @can_change_mute_new_participants
end

#durationInteger

Call duration; for ended calls only.

Returns:

  • (Integer)

    the current value of duration



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def duration
  @duration
end

#enabled_start_notificationBoolean

True, if the group call is scheduled and the current user will receive a notification when the group call will start.

Returns:

  • (Boolean)

    the current value of enabled_start_notification



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def enabled_start_notification
  @enabled_start_notification
end

#idInteger

Group call identifier.

Returns:

  • (Integer)

    the current value of id



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def id
  @id
end

#is_activeBoolean

True, if the call is active.

Returns:

  • (Boolean)

    the current value of is_active



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def is_active
  @is_active
end

#is_joinedBoolean

True, if the call is joined.

Returns:

  • (Boolean)

    the current value of is_joined



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def is_joined
  @is_joined
end

#loaded_all_participantsBoolean

True, if all group call participants are loaded.

Returns:

  • (Boolean)

    the current value of loaded_all_participants



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def loaded_all_participants
  @loaded_all_participants
end

#mute_new_participantsBoolean

True, if only group call administrators can unmute new participants.

Returns:

  • (Boolean)

    the current value of mute_new_participants



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def mute_new_participants
  @mute_new_participants
end

#need_rejoinBoolean

True, if user was kicked from the call because of network loss and the call needs to be rejoined.

Returns:

  • (Boolean)

    the current value of need_rejoin



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def need_rejoin
  @need_rejoin
end

#participant_countInteger

Number of participants in the group call.

Returns:

  • (Integer)

    the current value of participant_count



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def participant_count
  @participant_count
end

#recent_speakersArray<TD::Types::GroupCallRecentSpeaker>

Recently speaking users in the group call.

Returns:



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def recent_speakers
  @recent_speakers
end

#record_durationInteger

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.

Returns:

  • (Integer)

    the current value of record_duration



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def record_duration
  @record_duration
end

#scheduled_start_dateInteger

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.

Returns:

  • (Integer)

    the current value of scheduled_start_date



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def scheduled_start_date
  @scheduled_start_date
end

#titleTD::Types::String

Group call title.

Returns:

  • (TD::Types::String)

    the current value of title



25
26
27
# File 'lib/tdlib/types/group_call.rb', line 25

def title
  @title
end