public static class TdApi.MessageCall extends TdApi.MessageContent
TdApi.MessageContent.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.MessageContent