Package it.tdlight.jni
Class TdApi.PushMessageContentVideo
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.TdApi.PushMessageContentVideo
- Enclosing class:
- TdApi
public static class TdApi.PushMessageContentVideo extends TdApi.PushMessageContent
A video message.
-
Field Summary
Fields Modifier and Type Field Description String
caption
Video caption.static int
CONSTRUCTOR
boolean
isPinned
True, if the message is a pinned message with the specified content.boolean
isSecret
True, if the video is secret.TdApi.Video
video
Message content; may be null. -
Constructor Summary
Constructors Constructor Description PushMessageContentVideo()
A video message.PushMessageContentVideo(TdApi.Video video, String caption, boolean isSecret, boolean isPinned)
A video message.PushMessageContentVideo(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
-
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:
- Constant Field Values
-
-
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
- 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()
-