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
A video.
-
Field Summary
FieldsModifier and TypeFieldDescriptionVideo caption.static final intIdentifier uniquely determining type of the object.booleanTrue, if the video must be looped.booleanTrue, if the video must be played automatically.Video file; may be null. -
Constructor Summary
ConstructorsConstructorDescriptionA video.PageBlockVideo(TdApi.Video video, TdApi.PageBlockCaption caption, boolean needAutoplay, boolean isLooped) A video. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
video
Video file; may be null. -
caption
Video caption. -
needAutoplay
public boolean needAutoplayTrue, if the video must be played automatically. -
isLooped
public boolean isLoopedTrue, if the video must be looped. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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 Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-