Package org.drinkless.tdlib
Class TdApi.DiscardCall
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.DiscardCall
-
- Enclosing class:
- TdApi
public static class TdApi.DiscardCall extends TdApi.Function
Discards a call.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description intcallIdCall identifier.longconnectionIdIdentifier of the connection used during the call.static intCONSTRUCTORIdentifier uniquely determining type of the object.intdurationThe call duration, in seconds.booleanisDisconnectedTrue, if the user was disconnected.booleanisVideoTrue, if the call was a video call.
-
Constructor Summary
Constructors Constructor Description DiscardCall()Default constructor for a function, which discards a call.DiscardCall(int callId, boolean isDisconnected, int duration, boolean isVideo, long connectionId)Creates a function, which discards a 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
-
callId
public int callId
Call identifier.
-
isDisconnected
public boolean isDisconnected
True, if the user was disconnected.
-
duration
public int duration
The call duration, in seconds.
-
isVideo
public boolean isVideo
True, if the call was a video call.
-
connectionId
public long connectionId
Identifier of the connection used during the call.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DiscardCall
public DiscardCall()
Default constructor for a function, which discards a call.Returns
Ok
-
DiscardCall
public DiscardCall(int callId, boolean isDisconnected, int duration, boolean isVideo, long connectionId)Creates a function, which discards a call.Returns
Ok- Parameters:
callId- Call identifier.isDisconnected- True, if the user was disconnected.duration- The call duration, in seconds.isVideo- True, if the call was a video call.connectionId- Identifier of the connection used during the call.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-