public static class TdApi.PushMessageContentPhoto extends TdApi.PushMessageContent
TdApi.PushMessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
java.lang.String |
caption
Photo caption.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isPinned
True, if the message is a pinned message with the specified content.
|
boolean |
isSecret
True, if the photo is secret.
|
TdApi.Photo |
photo
Message content; may be null.
|
Constructor and Description |
---|
PushMessageContentPhoto()
A photo message.
|
PushMessageContentPhoto(TdApi.Photo photo,
java.lang.String caption,
boolean isSecret,
boolean isPinned)
A photo message.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
@Nullable public TdApi.Photo photo
public java.lang.String caption
public boolean isSecret
public boolean isPinned
public static final int CONSTRUCTOR
public PushMessageContentPhoto()
public PushMessageContentPhoto(TdApi.Photo photo, java.lang.String caption, boolean isSecret, boolean isPinned)
photo
- Message content; may be null.caption
- Photo caption.isSecret
- True, if the photo is secret.isPinned
- True, if the message is a pinned message with the specified content.public int getConstructor()
getConstructor
in class TdApi.PushMessageContent