public static class TdApi.MessagePhoto extends TdApi.MessageContent
TdApi.MessageContent.Constructors
Modifier and Type | Field and 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
The photo description.
|
Constructor and Description |
---|
MessagePhoto()
A photo message.
|
MessagePhoto(TdApi.Photo photo,
TdApi.FormattedText caption,
boolean isSecret)
A photo message.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.Photo photo
public TdApi.FormattedText caption
public boolean isSecret
public static final int CONSTRUCTOR
public MessagePhoto()
public MessagePhoto(TdApi.Photo photo, TdApi.FormattedText caption, boolean isSecret)
photo
- The photo description.caption
- Photo caption.isSecret
- True, if the photo must be blurred and must be shown only while tapped.public int getConstructor()
getConstructor
in class TdApi.MessageContent