Package org.drinkless.tdlib
Class TdApi.MessageCall
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.MessageContent
-
- org.drinkless.tdlib.TdApi.MessageCall
-
- Enclosing class:
- TdApi
public static class TdApi.MessageCall extends TdApi.MessageContent
A message with information about an ended call.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.CallDiscardReasondiscardReasonReason why the call was discarded.intdurationCall duration, in seconds.booleanisVideoTrue, if the call was a video call.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
isVideo
public boolean isVideo
True, if the call was a video call.
-
discardReason
public TdApi.CallDiscardReason discardReason
Reason why the call was discarded.
-
duration
public int duration
Call duration, in seconds.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MessageCall
public MessageCall()
A message with information about an ended call.
-
MessageCall
public MessageCall(boolean isVideo, TdApi.CallDiscardReason discardReason, int duration)A message with information about an ended call.- Parameters:
isVideo- True, if the call was a video call.discardReason- Reason why the call was discarded.duration- Call duration, in seconds.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-