public static class TdApi.MessageCall extends TdApi.MessageContent
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.CallDiscardReason |
discardReason
Reason why the call was discarded.
|
int |
duration
Call duration, in seconds.
|
boolean |
isVideo
True, if the call was a video call.
|
| Constructor and Description |
|---|
MessageCall()
A message with information about an ended call.
|
MessageCall(boolean isVideo,
TdApi.CallDiscardReason discardReason,
int duration)
A message with information about an ended call.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean isVideo
public TdApi.CallDiscardReason discardReason
public int duration
public static final int CONSTRUCTOR
public MessageCall()
public MessageCall(boolean isVideo,
TdApi.CallDiscardReason discardReason,
int duration)
isVideo - True, if the call was a video call.discardReason - Reason why the call was discarded.duration - Call duration, in seconds.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object