Package org.drinkless.tdlib
Class TdApi.ChatPhoto
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.ChatPhoto
-
- Enclosing class:
- TdApi
public static class TdApi.ChatPhoto extends TdApi.Object
Describes a chat or user profile photo.
-
-
Field Summary
Fields Modifier and Type Field Description intaddedDatePoint in time (Unix timestamp) when the photo has been added.TdApi.AnimatedChatPhotoanimationAnimated variant of the photo in MPEG4 format; may be null.static intCONSTRUCTORIdentifier uniquely determining type of the object.longidUnique photo identifier.TdApi.MinithumbnailminithumbnailPhoto minithumbnail; may be null.TdApi.PhotoSize[]sizesAvailable variants of the photo in JPEG format, in different size.
-
Constructor Summary
Constructors Constructor Description ChatPhoto()Describes 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
id
public long id
Unique photo identifier.
-
addedDate
public int addedDate
Point in time (Unix timestamp) when the photo has been added.
-
minithumbnail
public TdApi.Minithumbnail minithumbnail
Photo minithumbnail; may be null.
-
sizes
public TdApi.PhotoSize[] sizes
Available variants of the photo in JPEG format, in different size.
-
animation
public TdApi.AnimatedChatPhoto animation
Animated variant of the photo in MPEG4 format; may be null.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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- Unique photo identifier.addedDate- Point 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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-