java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatPhoto
- Enclosing class:
- TdApi
Describes a chat or user profile photo.
-
Field Summary
Modifier and TypeFieldDescriptionint
Point in time (Unix timestamp) when the photo has been added.Animated variant of the photo in MPEG4 format; may be null.static final int
long
Unique photo identifier.Photo minithumbnail; may be null.Available variants of the photo in JPEG format, in different size. -
Constructor Summary
ConstructorDescriptionDescribes a chat or user profile photo.ChatPhoto
(long id, int addedDate, TdApi.Minithumbnail minithumbnail, TdApi.PhotoSize[] sizes, TdApi.AnimatedChatPhoto animation) Describes a chat or user profile photo. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public long idUnique photo identifier. -
addedDate
public int addedDatePoint in time (Unix timestamp) when the photo has been added. -
minithumbnail
Photo minithumbnail; may be null. -
sizes
Available variants of the photo in JPEG format, in different size. -
animation
Animated variant of the photo in MPEG4 format; may be null. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ChatPhoto
public ChatPhoto()Describes a chat or user profile photo. -
ChatPhoto
public ChatPhoto(long id, int addedDate, TdApi.Minithumbnail minithumbnail, TdApi.PhotoSize[] sizes, TdApi.AnimatedChatPhoto animation) Describes a chat or user profile photo.- Parameters:
id
- long Unique photo identifier.addedDate
- int Point in time (Unix timestamp) when the photo has been added.minithumbnail
- Minithumbnail Photo minithumbnail; may be null.sizes
- PhotoSize[] Available variants of the photo in JPEG format, in different size.animation
- AnimatedChatPhoto Animated variant of the photo in MPEG4 format; may be null.
-
ChatPhoto
- 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()
-