public static class TdApi.InputThumbnail extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
height
Thumbnail height, usually shouldn't exceed 320.
|
TdApi.InputFile |
thumbnail
Thumbnail file to send.
|
int |
width
Thumbnail width, usually shouldn't exceed 320.
|
Constructor and Description |
---|
InputThumbnail()
A thumbnail to be sent along with a file; must be in JPEG or WEBP format for stickers, and less than 200 KB in size.
|
InputThumbnail(TdApi.InputFile thumbnail,
int width,
int height)
A thumbnail to be sent along with a file; must be in JPEG or WEBP format for stickers, and less than 200 KB in size.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.InputFile thumbnail
public int width
public int height
public static final int CONSTRUCTOR
public InputThumbnail()
public InputThumbnail(TdApi.InputFile thumbnail, int width, int height)
thumbnail
- Thumbnail file to send. Sending thumbnails by fileId is currently not supported.width
- Thumbnail width, usually shouldn't exceed 320. Use 0 if unknown.height
- Thumbnail height, usually shouldn't exceed 320. Use 0 if unknown.public int getConstructor()
getConstructor
in class TdApi.Object