Package it.ernytech.tdlib
Class TdApi.MessagePhoto
- java.lang.Object
-
- it.ernytech.tdlib.TdApi.Object
-
- it.ernytech.tdlib.TdApi.MessageContent
-
- it.ernytech.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.FormattedText
caption
Photo caption.static int
CONSTRUCTOR
Identifier uniquely determining type of the object.boolean
isSecret
True, if the photo must be blurred and must be shown only while tapped.TdApi.Photo
photo
Message content.
-
Constructor Summary
Constructors Constructor Description MessagePhoto()
Default constructor.MessagePhoto(TdApi.Photo photo, TdApi.FormattedText caption, boolean isSecret)
Constructor for initialization of all fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getConstructor()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class it.ernytech.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
photo
public TdApi.Photo photo
Message content.
-
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()
Default constructor.
-
MessagePhoto
public MessagePhoto(TdApi.Photo photo, TdApi.FormattedText caption, boolean isSecret)
Constructor for initialization of all fields.- Parameters:
photo
- Message content.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:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
-