Inherits Object.
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.
Public Fields | |
object_ptr< InputFile > | thumbnail_ |
Thumbnail file to send. Sending thumbnails by file_id is currently not supported. | |
int32 | width_ |
Thumbnail width, usually shouldn't exceed 320. Use 0 if unknown. | |
int32 | height_ |
Thumbnail height, usually shouldn't exceed 320. Use 0 if unknown. | |
Public Instance Methods | |
inputThumbnail () | |
inputThumbnail (object_ptr< InputFile > &&thumbnail_, int32 width_, int32 height_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 1582387236 |
Identifier uniquely determining a type of the object. | |
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 | ( | object_ptr< InputFile > && | thumbnail_, |
int32 | width_, | ||
int32 | 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.
[in] | thumbnail_ | Thumbnail file to send. Sending thumbnails by file_id is currently not supported. |
[in] | width_ | Thumbnail width, usually shouldn't exceed 320. Use 0 if unknown. |
[in] | height_ | Thumbnail height, usually shouldn't exceed 320. Use 0 if unknown. |
|
finalvirtual |