Package org.drinkless.tdlib
Class TdApi.InputPageBlockVideo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputPageBlock
org.drinkless.tdlib.TdApi.InputPageBlockVideo
- Enclosing class:
- TdApi
A video.
-
Field Summary
FieldsModifier and TypeFieldDescriptionVideo caption; pass null if none.static final intIdentifier uniquely determining type of the object.booleanTrue, if the video preview must be covered by a spoiler animation.The video to be sent. -
Constructor Summary
ConstructorsConstructorDescriptionA video.InputPageBlockVideo(TdApi.InputVideo video, TdApi.PageBlockCaption caption, boolean hasSpoiler) 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
The video to be sent. -
caption
Video caption; pass null if none. -
hasSpoiler
public boolean hasSpoilerTrue, if the video preview must be covered by a spoiler animation. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputPageBlockVideo
public InputPageBlockVideo()A video. -
InputPageBlockVideo
public InputPageBlockVideo(TdApi.InputVideo video, TdApi.PageBlockCaption caption, boolean hasSpoiler) A video.- Parameters:
video- The video to be sent.caption- Video caption; pass null if none.hasSpoiler- True, if the video preview must be covered by a spoiler animation.
-
-
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
-