Module tdlight.api

Class TdApi.AcceptCall

Enclosing class:
TdApi

public static final class TdApi.AcceptCall extends TdApi.Function<TdApi.Ok>
Accepts an incoming call. Returns Ok
  • Field Details

    • callId

      public int callId
      Call identifier.
    • protocol

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

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • AcceptCall

      public AcceptCall()
      Accepts an incoming call. Returns Ok
    • AcceptCall

      public AcceptCall(int callId, TdApi.CallProtocol protocol)
      Accepts an incoming call. Returns Ok
      Parameters:
      callId - int Call identifier.
      protocol - CallProtocol The call protocols supported by the application.
    • AcceptCall

      public AcceptCall(DataInput input) throws IOException
      Accepts an incoming call. Returns Ok
      Throws:
      IOException
  • Method Details