public static class TdApi.CreateCall extends TdApi.Function<TdApi.CallId>
Returns CallId
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isVideo
Pass true to create a video call.
|
TdApi.CallProtocol |
protocol
The call protocols supported by the application.
|
long |
userId
Identifier of the user to be called.
|
| Constructor and Description |
|---|
CreateCall()
Default constructor for a function, which creates a new call.
|
CreateCall(long userId,
TdApi.CallProtocol protocol,
boolean isVideo)
Creates a function, which creates a new call.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public TdApi.CallProtocol protocol
public boolean isVideo
public static final int CONSTRUCTOR
public CreateCall()
Returns CallId
public CreateCall(long userId,
TdApi.CallProtocol protocol,
boolean isVideo)
Returns CallId
userId - Identifier of the user to be called.protocol - The call protocols supported by the application.isVideo - Pass true to create a video call.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object