Package it.tdlight.jni
Class TdApi.MessageCall
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.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 int
CONSTRUCTOR
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 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.MessageCall(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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:
- Constant Field Values
-
-
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
- 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()
-