java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessageVideo
- Enclosing class:
- TdApi
A video message.
-
Field Summary
Modifier and TypeFieldDescriptionVideo caption.static final int
Identifier uniquely determining type of the object.boolean
True, if the video preview must be covered by a spoiler animation.boolean
True, if the video thumbnail must be blurred and the video must be shown only while tapped.The video description. -
Constructor Summary
ConstructorDescriptionA video message.MessageVideo
(TdApi.Video video, TdApi.FormattedText caption, boolean hasSpoiler, boolean isSecret) A video message.MessageVideo
(DataInput input) A video message. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
video
The video description. -
hasSpoiler
public boolean hasSpoilerTrue, if the video preview must be covered by a spoiler animation. -
isSecret
public boolean isSecretTrue, if the video thumbnail must be blurred and the video must be shown only while tapped. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageVideo
public MessageVideo()A video message. -
MessageVideo
public MessageVideo(TdApi.Video video, TdApi.FormattedText caption, boolean hasSpoiler, boolean isSecret) A video message.- Parameters:
video
- The video description.caption
- Video caption.hasSpoiler
- True, if the video preview must be covered by a spoiler animation.isSecret
- True, if the video thumbnail must be blurred and the video must be shown only while tapped.
-
MessageVideo
A video message.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-