Package org.drinkless.tdlib
Class TdApi.ChatPhotoInfo
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.ChatPhotoInfo
-
- Enclosing class:
- TdApi
public static class TdApi.ChatPhotoInfo extends TdApi.Object
Contains basic information about the photo of a chat.
-
-
Field Summary
Fields Modifier and Type Field Description TdApi.FilebigA big (640x640) chat photo variant in JPEG format.static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanhasAnimationTrue, if the photo has animated variant.TdApi.MinithumbnailminithumbnailChat photo minithumbnail; may be null.TdApi.FilesmallA small (160x160) chat photo variant in JPEG format.
-
Constructor Summary
Constructors Constructor Description ChatPhotoInfo()Contains basic information about the photo of a chat.ChatPhotoInfo(TdApi.File small, TdApi.File big, TdApi.Minithumbnail minithumbnail, boolean hasAnimation)Contains basic information about the photo of a chat.
-
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
-
small
public TdApi.File small
A small (160x160) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
-
big
public TdApi.File big
A big (640x640) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
-
minithumbnail
public TdApi.Minithumbnail minithumbnail
Chat photo minithumbnail; may be null.
-
hasAnimation
public boolean hasAnimation
True, if the photo has animated variant.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChatPhotoInfo
public ChatPhotoInfo()
Contains basic information about the photo of a chat.
-
ChatPhotoInfo
public ChatPhotoInfo(TdApi.File small, TdApi.File big, TdApi.Minithumbnail minithumbnail, boolean hasAnimation)
Contains basic information about the photo of a chat.- Parameters:
small- A small (160x160) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.big- A big (640x640) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.minithumbnail- Chat photo minithumbnail; may be null.hasAnimation- True, if the photo has animated variant.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-