Class TdApi.VoiceChat

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.VoiceChat
Enclosing class:
TdApi

public static class TdApi.VoiceChat
extends TdApi.Object
Describes a voice chat.
  • Field Details

    • groupCallId

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

      public boolean hasParticipants
      True, if the voice chat has participants.
    • defaultParticipantId

      public TdApi.MessageSender defaultParticipantId
      Default group call participant identifier to join the voice chat; may be null.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • 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 informationa 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

      public VoiceChat​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details