Module tdlight.api

Class TdApi.CreateCall

Enclosing class:
TdApi

public static final class TdApi.CreateCall extends TdApi.Function<TdApi.CallId>
Creates a new call. Returns CallId
  • Field Details

    • userId

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

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

      public boolean isVideo
      Pass true to create a video call.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • 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 The call protocols supported by the application.
      isVideo - boolean Pass true to create a video call.
    • CreateCall

      public CreateCall(DataInput input) throws IOException
      Creates a new call. Returns CallId
      Throws:
      IOException
  • Method Details