- Enclosing class:
- TdApi
Creates a new call.
Returns CallId
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
Pass true to create a video call.The call protocols supported by the application.long
Identifier of the user to be called. -
Constructor Summary
ConstructorDescriptionCreates a new call.CreateCall
(long userId, TdApi.CallProtocol protocol, boolean isVideo) Creates a new call.CreateCall
(DataInput input) Creates a new call. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
userId
public long userIdIdentifier of the user to be called. -
protocol
The call protocols supported by the application. -
isVideo
public boolean isVideoPass true to create a video call. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CreateCall
public CreateCall()Creates a new call.Returns
CallId
-
CreateCall
Creates a new call.Returns
CallId
- Parameters:
userId
- Identifier of the user to be called.protocol
- The call protocols supported by the application.isVideo
- Pass true to create a video call.Returns
CallId
-
CreateCall
Creates a new call.Returns
CallId
- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-