Package it.tdlight.jni
Class TdApi.DiscardCall
- 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) -
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.Returns
Ok
-
DiscardCall
public DiscardCall(int callId, boolean isDisconnected, int duration, boolean isVideo, long connectionId) Discards a call.Returns
Ok
- 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
- 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()
-