java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.TdApi.PushMessageContentVideo
- Enclosing class:
- TdApi
A video message.
-
Field Summary
Modifier and TypeFieldDescriptionVideo caption.static final int
boolean
True, if the message is a pinned message with the specified content.boolean
True, if the video is secret.Message content; may be null. -
Constructor Summary
ConstructorDescriptionA video message.PushMessageContentVideo
(TdApi.Video video, String caption, boolean isSecret, boolean isPinned) A video message.PushMessageContentVideo
(DataInput input) A video message. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
video
Message content; may be null. -
isSecret
public boolean isSecretTrue, if the video is secret. -
isPinned
public boolean isPinnedTrue, if the message is a pinned message with the specified content. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
PushMessageContentVideo
public PushMessageContentVideo()A video message. -
PushMessageContentVideo
public PushMessageContentVideo(TdApi.Video video, String caption, boolean isSecret, boolean isPinned) A video message.- Parameters:
video
- Video Message content; may be null.caption
- String Video caption.isSecret
- boolean True, if the video is secret.isPinned
- boolean True, if the message is a pinned message with the specified content.
-
PushMessageContentVideo
A video message.- 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()
-