Package org.drinkless.tdlib
Class TdApi.AcceptCall
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.AcceptCall
-
- Enclosing class:
- TdApi
public static class TdApi.AcceptCall extends TdApi.Function
Accepts an incoming call.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description intcallIdCall identifier.static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.CallProtocolprotocolThe 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
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 Detail
-
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 Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-