Module tdlight.api

Class TdApi.JoinGroupCall

Enclosing class:
TdApi

public static final class TdApi.JoinGroupCall extends TdApi.Function<TdApi.Text>
Joins an active group call. Returns join response payload for tgcalls.

Returns Text

  • Field Details

    • groupCallId

      public int groupCallId
      Group call identifier.
    • participantId

      public TdApi.MessageSender participantId
      Identifier of a group call participant, which will be used to join the call; pass null to join as self; video chats only.
    • audioSourceId

      public int audioSourceId
      Caller audio channel synchronization source identifier; received from tgcalls.
    • payload

      public String payload
      Group call join payload; received from tgcalls.
    • isMuted

      public boolean isMuted
      Pass true to join the call with muted microphone.
    • isMyVideoEnabled

      public boolean isMyVideoEnabled
      Pass true if the user's video is enabled.
    • inviteHash

      public String inviteHash
      If non-empty, invite hash to be used to join the group call without being muted by administrators.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • JoinGroupCall

      public JoinGroupCall()
      Joins an active group call. Returns join response payload for tgcalls.

      Returns Text

    • JoinGroupCall

      public JoinGroupCall(int groupCallId, TdApi.MessageSender participantId, int audioSourceId, String payload, boolean isMuted, boolean isMyVideoEnabled, String inviteHash)
      Joins an active group call. Returns join response payload for tgcalls.

      Returns Text

      Parameters:
      groupCallId - Group call identifier.
      participantId - Identifier of a group call participant, which will be used to join the call; pass null to join as self; video chats only.
      audioSourceId - Caller audio channel synchronization source identifier; received from tgcalls.
      payload - Group call join payload; received from tgcalls.
      isMuted - Pass true to join the call with muted microphone.
      isMyVideoEnabled - Pass true if the user's video is enabled.
      inviteHash - If non-empty, invite hash to be used to join the group call without being muted by administrators.

      Returns Text

    • JoinGroupCall

      public JoinGroupCall(DataInput input) throws IOException
      Joins an active group call. Returns join response payload for tgcalls.

      Returns Text

      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object