public static class TdApi.ChatPhotoInfo extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
TdApi.File |
big
A big (640x640) chat photo variant in JPEG format.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
hasAnimation
True, if the photo has animated variant.
|
TdApi.Minithumbnail |
minithumbnail
Chat photo minithumbnail; may be null.
|
TdApi.File |
small
A small (160x160) chat photo variant in JPEG format.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.File small
public TdApi.File big
@Nullable public TdApi.Minithumbnail minithumbnail
public boolean hasAnimation
public static final int CONSTRUCTOR
public ChatPhotoInfo()
public ChatPhotoInfo(TdApi.File small, TdApi.File big, TdApi.Minithumbnail minithumbnail, boolean hasAnimation)
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.public int getConstructor()
getConstructor
in class TdApi.Object