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
Modifier and TypeFieldDescriptionstatic final int
Reason why the call was discarded.int
Call duration, in seconds.boolean
True, if the call was a video call. -
Constructor Summary
ConstructorDescriptionA 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:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-