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
A message with information about an ended call.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.MessageContent
TdApi.MessageContent.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Reason why the call was discarded.intCall duration, in seconds.booleanTrue, if the call was a video call.longPersistent unique call identifier; 0 for calls from other devices, which can't be passed as inputCallFromMessage. -
Constructor Summary
ConstructorsConstructorDescriptionA message with information about an ended call.MessageCall(long uniqueId, boolean isVideo, TdApi.CallDiscardReason discardReason, int duration) A message with information about an ended call. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
uniqueId
public long uniqueIdPersistent unique call identifier; 0 for calls from other devices, which can't be passed as inputCallFromMessage. -
isVideo
public boolean isVideoTrue, if the call was a video call. -
discardReason
Reason why the call was discarded. -
duration
public int durationCall duration, in seconds. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageCall
public MessageCall()A message with information about an ended call. -
MessageCall
public MessageCall(long uniqueId, boolean isVideo, TdApi.CallDiscardReason discardReason, int duration) A message with information about an ended call.- Parameters:
uniqueId- Persistent unique call identifier; 0 for calls from other devices, which can't be passed as inputCallFromMessage.isVideo- True, if the call was a video call.discardReason- Reason why the call was discarded.duration- Call duration, in seconds.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.MessageContent- Returns:
- this.CONSTRUCTOR
-