Package org.drinkless.tdlib

# Class TdApi.AcceptCall

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.AcceptCall

Enclosing class:
  `TdApi`

public static class TdApi.AcceptCall extends TdApi.Function<TdApi.Ok>
Accepts an incoming call.

Returns `Ok`

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function

  `TdApi.Function.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `int`
  `callId`
  Call identifier.
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `TdApi.CallProtocol`
  `protocol`
  The call protocols supported by the application.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AcceptCall()`
  Default constructor for a function, which accepts an incoming call.
  `AcceptCall(int callId, TdApi.CallProtocol protocol)`
  Creates a function, which accepts an incoming call.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Function

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## 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:
      - Constant Field Values

- ## 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.Function<TdApi.Ok>`
    Returns:
      this.CONSTRUCTOR