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