public static class TdApi.DiscardCall extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
int |
callId
Call identifier.
|
long |
connectionId
Identifier of the connection used during the call.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
duration
The call duration, in seconds.
|
boolean |
isDisconnected
Pass true if the user was disconnected.
|
boolean |
isVideo
Pass true if the call was a video call.
|
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int callId
public boolean isDisconnected
public int duration
public boolean isVideo
public long connectionId
public static final int CONSTRUCTOR
public DiscardCall()
Returns Ok
public DiscardCall(int callId,
boolean isDisconnected,
int duration,
boolean isVideo,
long connectionId)
Returns Ok
callId - Call identifier.isDisconnected - Pass true if the user was disconnected.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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object