Package org.drinkless.tdlib
Class TdApi.MessagePhoto
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.MessageContent
-
- org.drinkless.tdlib.TdApi.MessagePhoto
-
- Enclosing class:
- TdApi
public static class TdApi.MessagePhoto extends TdApi.MessageContent
A photo message.
-
-
Field Summary
Fields Modifier and Type Field Description TdApi.FormattedTextcaptionPhoto caption.static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanisSecretTrue, if the photo must be blurred and must be shown only while tapped.TdApi.PhotophotoThe photo description.
-
Constructor Summary
Constructors Constructor Description MessagePhoto()A photo message.MessagePhoto(TdApi.Photo photo, TdApi.FormattedText caption, boolean isSecret)A photo message.
-
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
-
photo
public TdApi.Photo photo
The photo description.
-
caption
public TdApi.FormattedText caption
Photo caption.
-
isSecret
public boolean isSecret
True, if the photo must be blurred and must be shown only while tapped.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MessagePhoto
public MessagePhoto()
A photo message.
-
MessagePhoto
public MessagePhoto(TdApi.Photo photo, TdApi.FormattedText caption, boolean isSecret)
A photo message.- Parameters:
photo- The photo description.caption- Photo caption.isSecret- True, if the photo must be blurred and must be shown only while tapped.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-