Package it.tdlight.jni
Class TdApi.AcceptCall
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.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 int
callId
Call identifier.static int
CONSTRUCTOR
TdApi.CallProtocol
protocol
Description of the call protocols supported by the application. -
Constructor Summary
Constructors Constructor Description AcceptCall()
Accepts an incoming call.AcceptCall(int callId, TdApi.CallProtocol protocol)
Accepts an incoming call.AcceptCall(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
callId
public int callIdCall identifier. -
protocol
Description of the call protocols supported by the application. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
AcceptCall
public AcceptCall()Accepts an incoming call.Returns
Ok
-
AcceptCall
Accepts an incoming call.Returns
Ok
- Parameters:
callId
- int Call identifier.protocol
- CallProtocol Description of the call protocols supported by the application.
-
AcceptCall
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-