public static class TdApi.PushMessageContentVideo extends TdApi.PushMessageContent
TdApi.PushMessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
java.lang.String |
caption
Video caption.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
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 and Description |
---|
PushMessageContentVideo()
A video message.
|
PushMessageContentVideo(TdApi.Video video,
java.lang.String caption,
boolean isSecret,
boolean isPinned)
A video message.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
@Nullable public TdApi.Video video
public java.lang.String caption
public boolean isSecret
public boolean isPinned
public static final int CONSTRUCTOR
public PushMessageContentVideo()
public PushMessageContentVideo(TdApi.Video video, java.lang.String caption, boolean isSecret, boolean isPinned)
video
- Message content; may be null.caption
- Video caption.isSecret
- True, if the video is secret.isPinned
- True, if the message is a pinned message with the specified content.public int getConstructor()
getConstructor
in class TdApi.PushMessageContent