Class TdApi.CreateCall

Enclosing class:
TdApi

public static class TdApi.CreateCall
extends TdApi.Function
Creates a new call.

Returns CallId

  • Field Details

    • userId

      public int userId
      Identifier of the user to be called.
    • protocol

      public TdApi.CallProtocol protocol
      Description of the call protocols supported by the application.
    • isVideo

      public boolean isVideo
      True, if a video call needs to be created.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • CreateCall

      public CreateCall()
      Creates a new call.

      Returns CallId

    • CreateCall

      public CreateCall​(int userId, TdApi.CallProtocol protocol, boolean isVideo)
      Creates a new call.

      Returns CallId

      Parameters:
      userId - int Identifier of the user to be called.
      protocol - CallProtocol Description of the call protocols supported by the application.
      isVideo - boolean True, if a video call needs to be created.
    • CreateCall

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