Package org.drinkless.tdlib
Class TdApi.DiscardCall
- Enclosing class:
- TdApi
Discards a call.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionintCall identifier.longIdentifier of the connection used during the call.static final intIdentifier uniquely determining type of the object.intThe call duration, in seconds.If the call was upgraded to a group call, pass invite link to the group call.booleanPass true if the user was disconnected.booleanPass true if the call was a video call. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which discards a call.DiscardCall(int callId, boolean isDisconnected, String inviteLink, int duration, boolean isVideo, long connectionId) Creates a function, which discards a call. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
callId
public int callIdCall identifier. -
isDisconnected
public boolean isDisconnectedPass true if the user was disconnected. -
inviteLink
If the call was upgraded to a group call, pass invite link to the group call. -
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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
DiscardCall
public DiscardCall()Default constructor for a function, which discards a call.Returns
Ok -
DiscardCall
public DiscardCall(int callId, boolean isDisconnected, String inviteLink, int duration, boolean isVideo, long connectionId) Creates a function, which discards a call.Returns
Ok- Parameters:
callId- Call identifier.isDisconnected- Pass true if the user was disconnected.inviteLink- If the call was upgraded to a group call, pass invite link to the group call.duration- The call duration, in seconds.isVideo- Pass true if the call was a video call.connectionId- Identifier of the connection used during the call.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-