public static class TdApi.DiscardCall extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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
True, if the user was disconnected.
|
boolean |
isVideo
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() |
toString
public 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
- True, if the user was disconnected.duration
- The call duration, in seconds.isVideo
- True, if the call was a video call.connectionId
- Identifier of the connection used during the call.public int getConstructor()
getConstructor
in class TdApi.Function