public static class TdApi.PhotoSize extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
height
Image height.
|
TdApi.File |
photo
Information about the image file.
|
int[] |
progressiveSizes
Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image; in bytes.
|
java.lang.String |
type
Image type (see https://core.telegram.org/constructor/photoSize).
|
int |
width
Image width.
|
| Constructor and Description |
|---|
PhotoSize()
Describes an image in JPEG format.
|
PhotoSize(java.lang.String type,
TdApi.File photo,
int width,
int height,
int[] progressiveSizes)
Describes an image in JPEG format.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String type
public TdApi.File photo
public int width
public int height
public int[] progressiveSizes
public static final int CONSTRUCTOR
public PhotoSize()
public PhotoSize(java.lang.String type,
TdApi.File photo,
int width,
int height,
int[] progressiveSizes)
type - Image type (see https://core.telegram.org/constructor/photoSize).photo - Information about the image file.width - Image width.height - Image height.progressiveSizes - Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image; in bytes.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object