Package org.drinkless.tdlib
Class TdApi.CreateCall
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.CreateCall
-
- Enclosing class:
- TdApi
public static class TdApi.CreateCall extends TdApi.Function
Creates a new call.Returns
CallId
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanisVideoTrue, if a video call needs to be created.TdApi.CallProtocolprotocolThe call protocols supported by the application.longuserIdIdentifier of the user to be called.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
userId
public long userId
Identifier of the user to be called.
-
protocol
public TdApi.CallProtocol protocol
The call protocols supported by the application.
-
isVideo
public boolean isVideo
True, if a video call needs to be created.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CreateCall
public CreateCall()
Default constructor for a function, which creates a new call.Returns
CallId
-
CreateCall
public CreateCall(long userId, TdApi.CallProtocol protocol, boolean isVideo)Creates a function, which creates a new call.Returns
CallId- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-