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
Photo height.
|
TdApi.File |
photo
Information about the photo file.
|
java.lang.String |
type
Thumbnail type (see https://core.telegram.org/constructor/photoSize).
|
int |
width
Photo width.
|
Constructor and Description |
---|
PhotoSize()
Photo description.
|
PhotoSize(java.lang.String type,
TdApi.File photo,
int width,
int height)
Photo description.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String type
public TdApi.File photo
public int width
public int height
public static final int CONSTRUCTOR
public PhotoSize()
public PhotoSize(java.lang.String type, TdApi.File photo, int width, int height)
type
- Thumbnail type (see https://core.telegram.org/constructor/photoSize).photo
- Information about the photo file.width
- Photo width.height
- Photo height.public int getConstructor()
getConstructor
in class TdApi.Object