Class TdApi.CreateCall

Enclosing class:
TdApi

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

Returns CallId

  • Field Details

    • userId

      public long 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​(long userId, TdApi.CallProtocol protocol, boolean isVideo)
      Creates a new call.

      Returns CallId

      Parameters:
      userId - long 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