Package org.drinkless.tdlib
Class TdApi.PageBlockVideo
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.PageBlock
-
- org.drinkless.tdlib.TdApi.PageBlockVideo
-
- Enclosing class:
- TdApi
public static class TdApi.PageBlockVideo extends TdApi.PageBlock
A video.
-
-
Field Summary
Fields Modifier and Type Field Description TdApi.PageBlockCaptioncaptionVideo caption.static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanisLoopedTrue, if the video must be looped.booleanneedAutoplayTrue, if the video must be played automatically.TdApi.VideovideoVideo file; may be null.
-
Constructor Summary
Constructors Constructor Description PageBlockVideo()A video.PageBlockVideo(TdApi.Video video, TdApi.PageBlockCaption caption, boolean needAutoplay, boolean isLooped)A video.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
video
public TdApi.Video video
Video file; may be null.
-
caption
public TdApi.PageBlockCaption caption
Video caption.
-
needAutoplay
public boolean needAutoplay
True, if the video must be played automatically.
-
isLooped
public boolean isLooped
True, if the video must be looped.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PageBlockVideo
public PageBlockVideo()
A video.
-
PageBlockVideo
public PageBlockVideo(TdApi.Video video, TdApi.PageBlockCaption caption, boolean needAutoplay, boolean isLooped)
A video.- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-