Class TdApi.JoinVideoChat

Enclosing class:
TdApi

public static class TdApi.JoinVideoChat extends TdApi.Function<TdApi.Text>
Joins an active video chat. 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.
    • joinParameters

      public TdApi.GroupCallJoinParameters joinParameters
      Parameters to join the call.
    • inviteHash

      public String inviteHash
      Invite hash as received from internalLinkTypeVideoChat.
    • CONSTRUCTOR

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

    • JoinVideoChat

      public JoinVideoChat()
      Default constructor for a function, which joins an active video chat. Returns join response payload for tgcalls.

      Returns Text

    • JoinVideoChat

      public JoinVideoChat(int groupCallId, TdApi.MessageSender participantId, TdApi.GroupCallJoinParameters joinParameters, String inviteHash)
      Creates a function, which joins an active video chat. 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.
      joinParameters - Parameters to join the call.
      inviteHash - Invite hash as received from internalLinkTypeVideoChat.
  • 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