Package org.drinkless.tdlib
Class TdApi.PushMessageContentPhoto
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.PushMessageContent
-
- org.drinkless.tdlib.TdApi.PushMessageContentPhoto
-
- Enclosing class:
- TdApi
public static class TdApi.PushMessageContentPhoto extends TdApi.PushMessageContent
A photo message.
-
-
Field Summary
Fields Modifier and Type Field Description StringcaptionPhoto caption.static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanisPinnedTrue, if the message is a pinned message with the specified content.booleanisSecretTrue, if the photo is secret.TdApi.PhotophotoMessage content; may be null.
-
Constructor Summary
Constructors Constructor Description PushMessageContentPhoto()A photo message.PushMessageContentPhoto(TdApi.Photo photo, String caption, boolean isSecret, boolean isPinned)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
Message content; may be null.
-
caption
public String caption
Photo caption.
-
isSecret
public boolean isSecret
True, if the photo is secret.
-
isPinned
public boolean isPinned
True, if the message is a pinned message with the specified content.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PushMessageContentPhoto
public PushMessageContentPhoto()
A photo message.
-
PushMessageContentPhoto
public PushMessageContentPhoto(TdApi.Photo photo, String caption, boolean isSecret, boolean isPinned)
A photo message.- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-