- Enclosing class:
- TdApi
Discards a call.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionint
Call identifier.long
Identifier of the connection used during the call.static final int
int
The call duration, in seconds.boolean
True, if the user was disconnected.boolean
True, if the call was a video call. -
Constructor Summary
ConstructorDescriptionDiscards a call.DiscardCall
(int callId, boolean isDisconnected, int duration, boolean isVideo, long connectionId) Discards a call.DiscardCall
(DataInput input) Discards a call. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
callId
public int callIdCall identifier. -
isDisconnected
public boolean isDisconnectedTrue, if the user was disconnected. -
duration
public int durationThe call duration, in seconds. -
isVideo
public boolean isVideoTrue, if the call was a video call. -
connectionId
public long connectionIdIdentifier of the connection used during the call. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
DiscardCall
public DiscardCall()Discards a call. ReturnsOk
-
DiscardCall
public DiscardCall(int callId, boolean isDisconnected, int duration, boolean isVideo, long connectionId) Discards a call. ReturnsOk
- Parameters:
callId
- int Call identifier.isDisconnected
- boolean True, if the user was disconnected.duration
- int The call duration, in seconds.isVideo
- boolean True, if the call was a video call.connectionId
- long Identifier of the connection used during the call.
-
DiscardCall
Discards a call. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-