Package it.tdlight.jni
Class TdApi.Photo
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Photo
- Enclosing class:
- TdApi
public static class TdApi.Photo extends TdApi.Object
Describes a photo.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
boolean
hasStickers
True, if stickers were added to the photo.TdApi.Minithumbnail
minithumbnail
Photo minithumbnail; may be null.TdApi.PhotoSize[]
sizes
Available variants of the photo, in different sizes. -
Constructor Summary
Constructors Constructor Description Photo()
Describes a photo.Photo(boolean hasStickers, TdApi.Minithumbnail minithumbnail, TdApi.PhotoSize[] sizes)
Describes a photo.Photo(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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:
- Constant Field Values
-
-
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()
-