Class TdApi.AcceptCall

Enclosing class:
TdApi

public static 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
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • AcceptCall

      public AcceptCall()
      Default constructor for a function, which accepts an incoming call.

      Returns Ok

    • AcceptCall

      public AcceptCall(int callId, TdApi.CallProtocol protocol)
      Creates a function, which accepts an incoming call.

      Returns Ok

      Parameters:
      callId - Call identifier.
      protocol - The call protocols supported by the application.
  • 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