Package it.tdlight.jni
Class TdApi.VoiceChat
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.VoiceChat
- Enclosing class:
- TdApi
Describes a voice chat.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Default group call participant identifier to join the voice chat; may be null.int
Group call identifier of an active voice chat; 0 if none.boolean
True, if the voice chat has participants. -
Constructor Summary
ConstructorDescriptionDescribes a voice chat.VoiceChat
(int groupCallId, boolean hasParticipants, TdApi.MessageSender defaultParticipantId) Describes a voice chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
groupCallId
public int groupCallIdGroup call identifier of an active voice chat; 0 if none. Full information about the voice chat can be received through the method getGroupCall. -
hasParticipants
public boolean hasParticipantsTrue, if the voice chat has participants. -
defaultParticipantId
Default group call participant identifier to join the voice chat; may be null. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
VoiceChat
public VoiceChat()Describes a voice chat. -
VoiceChat
public VoiceChat(int groupCallId, boolean hasParticipants, TdApi.MessageSender defaultParticipantId) Describes a voice chat.- Parameters:
groupCallId
- int Group call identifier of an active voice chat; 0 if none. Full information about the voice chat can be received through the method getGroupCall.hasParticipants
- boolean True, if the voice chat has participants.defaultParticipantId
- MessageSender Default group call participant identifier to join the voice chat; may be null.
-
VoiceChat
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-