public static class TdApi.AcceptCall extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
int |
callId
Call identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.CallProtocol |
protocol
The call protocols supported by the application.
|
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int callId
public TdApi.CallProtocol protocol
public static final int CONSTRUCTOR
public AcceptCall()
Returns Ok
public AcceptCall(int callId,
TdApi.CallProtocol protocol)
Returns Ok
callId - Call identifier.protocol - The call protocols supported by the application.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object