Package it.tdlight.jni
Class TdApi.Photo
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Photo
- Enclosing class:
- TdApi
Describes a photo.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
True, if stickers were added to the photo.Photo minithumbnail; may be null.Available variants of the photo, in different sizes. -
Constructor Summary
ConstructorDescriptionPhoto()
Describes a photo.Photo
(boolean hasStickers, TdApi.Minithumbnail minithumbnail, TdApi.PhotoSize[] sizes) Describes a photo. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
hasStickers
public boolean hasStickersTrue, if stickers were added to the photo. The list of corresponding sticker sets can be received using getAttachedStickerSets. -
minithumbnail
Photo minithumbnail; may be null. -
sizes
Available variants of the photo, in different sizes. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
Photo
public Photo()Describes a photo. -
Photo
Describes a photo.- Parameters:
hasStickers
- boolean True, if stickers were added to the photo. The list of corresponding sticker sets can be received using getAttachedStickerSets.minithumbnail
- Minithumbnail Photo minithumbnail; may be null.sizes
- PhotoSize[] Available variants of the photo, in different sizes.
-
Photo
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-