public static class TdApi.CreateCall extends TdApi.Function
Returns CallId
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isVideo
True, if a video call needs to be created.
|
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() |
toString
public 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
- True, if a video call needs to be created.public int getConstructor()
getConstructor
in class TdApi.Function