Class: TD::Types::VoiceChat

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

Overview

Describes a voice chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#default_participant_idTD::Types::MessageSender?

Default group call participant identifier to join the voice chat; may be null.

Returns:



9
10
11
# File 'lib/tdlib/types/voice_chat.rb', line 9

def default_participant_id
  @default_participant_id
end

#group_call_idInteger

Group call identifier of an active voice chat; 0 if none. Full informationa about the voice chat can be received through the method getGroupCall.

Returns:

  • (Integer)

    the current value of group_call_id



9
10
11
# File 'lib/tdlib/types/voice_chat.rb', line 9

def group_call_id
  @group_call_id
end

#has_participantsBoolean

True, if the voice chat has participants.

Returns:

  • (Boolean)

    the current value of has_participants



9
10
11
# File 'lib/tdlib/types/voice_chat.rb', line 9

def has_participants
  @has_participants
end