Class TdApi.MessageCall
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.MessageContent
dev.voroby.springframework.telegram.client.TdApi.MessageCall
- Enclosing class:
- TdApi
A message with information about an ended call.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
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 CONSTRUCTORIdentifier uniquely determining type of the object.- 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
- 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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-