Inherits Object.
Describes an image in JPEG format.
Public Fields | |
string | type_ |
Image type (see https://core.telegram.org/constructor/photoSize). | |
object_ptr< file > | photo_ |
Information about the image file. | |
int32 | width_ |
Image width. | |
int32 | height_ |
Image height. | |
array< int32 > | progressive_sizes_ |
Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image; in bytes. | |
Public Instance Methods | |
photoSize () | |
photoSize (string const &type_, object_ptr< file > &&photo_, int32 width_, int32 height_, array< int32 > &&progressive_sizes_) | |
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 = 1609182352 |
Identifier uniquely determining a type of the object. | |
photoSize | ( | ) |
Describes an image in JPEG format.
photoSize | ( | string const & | type_, |
object_ptr< file > && | photo_, | ||
int32 | width_, | ||
int32 | height_, | ||
array< int32 > && | progressive_sizes_ | ||
) |
Describes an image in JPEG format.
[in] | type_ | Image type (see https://core.telegram.org/constructor/photoSize). |
[in] | photo_ | Information about the image file. |
[in] | width_ | Image width. |
[in] | height_ | Image height. |
[in] | progressive_sizes_ | Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image; in bytes. |
|
finalvirtual |