|
TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
| chatPhoto () | |
| chatPhoto (int64 id_, int32 added_date_, object_ptr< minithumbnail > &&minithumbnail_, array< object_ptr< photoSize > > &&sizes_, object_ptr< animatedChatPhoto > &&animation_, object_ptr< animatedChatPhoto > &&small_animation_, object_ptr< chatPhotoSticker > &&sticker_) | |
| 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 | |
| int64 | id_ |
| Unique photo identifier. | |
| int32 | added_date_ |
| Point in time (Unix timestamp) when the photo has been added. | |
| object_ptr< minithumbnail > | minithumbnail_ |
| Photo minithumbnail; may be null. | |
| array< object_ptr< photoSize > > | sizes_ |
| Available variants of the photo in JPEG format, in different size. | |
| object_ptr< animatedChatPhoto > | animation_ |
| A big (up to 1280x1280) animated variant of the photo in MPEG4 format; may be null. | |
| object_ptr< animatedChatPhoto > | small_animation_ |
| A small (160x160) animated variant of the photo in MPEG4 format; may be null even the big animation is available. | |
| object_ptr< chatPhotoSticker > | sticker_ |
| Sticker-based version of the chat photo; may be null. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1430870201 |
| Identifier uniquely determining a type of the object. | |
Describes a chat or user profile photo.
| td::td_api::chatPhoto::chatPhoto | ( | ) |
Describes a chat or user profile photo.
| td::td_api::chatPhoto::chatPhoto | ( | int64 | id_, |
| int32 | added_date_, | ||
| object_ptr< minithumbnail > && | minithumbnail_, | ||
| array< object_ptr< photoSize > > && | sizes_, | ||
| object_ptr< animatedChatPhoto > && | animation_, | ||
| object_ptr< animatedChatPhoto > && | small_animation_, | ||
| object_ptr< chatPhotoSticker > && | sticker_ | ||
| ) |
Describes a chat or user profile photo.
| [in] | id_ | Unique photo identifier. |
| [in] | added_date_ | Point in time (Unix timestamp) when the photo has been added. |
| [in] | minithumbnail_ | Photo minithumbnail; may be null. |
| [in] | sizes_ | Available variants of the photo in JPEG format, in different size. |
| [in] | animation_ | A big (up to 1280x1280) animated variant of the photo in MPEG4 format; may be null. |
| [in] | small_animation_ | A small (160x160) animated variant of the photo in MPEG4 format; may be null even the big animation is available. |
| [in] | sticker_ | Sticker-based version of the chat photo; may be null. |
|
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.