|
TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
| photoSize () | |
| photoSize (string const &type_, object_ptr< file > &&photo_, int32 width_, int32 height_, array< int32 > &&progressive_sizes_) | |
| std::int32_t | get_id () const final |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::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 |
Public Attributes | |
| 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. | |
Static Public Attributes | |
| static const std::int32_t | ID = 1609182352 |
| Identifier uniquely determining a type of the object. | |
Describes an image in JPEG format.
| td::td_api::photoSize::photoSize | ( | ) |
Describes an image in JPEG format.
| td::td_api::photoSize::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. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.