- Enclosing class:
- TdApi
Discards a call.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionintCall identifier.longIdentifier of the connection used during the call.static final intintThe call duration, in seconds.booleanPass true if the user was disconnected.booleanPass true if the call was a video call. -
Constructor Summary
ConstructorsConstructorDescriptionDiscards 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
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
callId
public int callIdCall identifier. -
isDisconnected
public boolean isDisconnectedPass true if the user was disconnected. -
duration
public int durationThe call duration, in seconds. -
isVideo
public boolean isVideoPass true 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 Pass true if the user was disconnected.duration- int The call duration, in seconds.isVideo- boolean Pass 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-