java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessageCall
- Enclosing class:
- TdApi
A message with information about an ended call.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intReason why the call was discarded.intCall duration, in seconds.booleanTrue, if the call was a video call. -
Constructor Summary
ConstructorsConstructorDescriptionA message with information about an ended call.MessageCall(boolean isVideo, TdApi.CallDiscardReason discardReason, int duration) A message with information about an ended call.MessageCall(DataInput input) A message with information about an ended call. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
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 CONSTRUCTOR- See Also:
-
-
Constructor Details
-
MessageCall
public MessageCall()A message with information about an ended call. -
MessageCall
A message with information about an ended call.- Parameters:
isVideo- boolean True, if the call was a video call.discardReason- CallDiscardReason Reason why the call was discarded.duration- int Call duration, in seconds.
-
MessageCall
A message with information about an ended call.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-