Class TdApi.PageBlockVideo
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.PageBlock
dev.voroby.springframework.telegram.client.TdApi.PageBlockVideo
- Enclosing class:
- TdApi
A video.
-
Field Summary
Modifier and TypeFieldDescriptionVideo caption.static final int
Identifier uniquely determining type of the object.boolean
True, if the video must be looped.boolean
True, if the video must be played automatically.Video file; may be null. -
Constructor Summary
ConstructorDescriptionA video.PageBlockVideo
(TdApi.Video video, TdApi.PageBlockCaption caption, boolean needAutoplay, boolean isLooped) A video. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
video
Video file; may be null. -
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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-