public static class TdApi.PageBlockVideo extends TdApi.PageBlock
TdApi.PageBlock.Constructors
Modifier and Type | Field and Description |
---|---|
TdApi.PageBlockCaption |
caption
Video caption.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isLooped
True, if the video must be looped.
|
boolean |
needAutoplay
True, if the video must be played automatically.
|
TdApi.Video |
video
Video file; may be null.
|
Constructor and Description |
---|
PageBlockVideo()
A video.
|
PageBlockVideo(TdApi.Video video,
TdApi.PageBlockCaption caption,
boolean needAutoplay,
boolean isLooped)
A video.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
@Nullable public TdApi.Video video
public TdApi.PageBlockCaption caption
public boolean needAutoplay
public boolean isLooped
public static final int CONSTRUCTOR
public PageBlockVideo()
public PageBlockVideo(TdApi.Video video, TdApi.PageBlockCaption caption, boolean needAutoplay, boolean isLooped)
video
- Video file; may be null.caption
- Video caption.needAutoplay
- True, if the video must be played automatically.isLooped
- True, if the video must be looped.public int getConstructor()
getConstructor
in class TdApi.PageBlock