|
TDLib
|
Inherits Object.
A photo to be sent.
Public Member Functions | |
| inputPhoto () | |
| inputPhoto (object_ptr< InputFile > &&photo_, object_ptr< inputThumbnail > &&thumbnail_, object_ptr< InputFile > &&video_, array< int32 > &&added_sticker_file_ids_, int32 width_, int32 height_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| array< int32 > | added_sticker_file_ids_ |
| File identifiers of the stickers added to the photo, if applicable. | |
| int32 | height_ |
| Photo height; may be replaced by the server. | |
| object_ptr< InputFile > | photo_ |
| Photo to be sent. The photo must be at most 10 MB in size. The photo's width and height must not exceed 10000 in total. Width and height ratio must be at most 20. | |
| object_ptr< inputThumbnail > | thumbnail_ |
| Photo thumbnail; pass null to skip thumbnail uploading. The thumbnail is sent to the other party only in secret chats. | |
| object_ptr< InputFile > | video_ |
| Video of the live photo; not supported in secret chats; pass null if the photo isn't a live photo. | |
| int32 | width_ |
| Photo width; may be replaced by the server. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1695176164 |
| Identifier uniquely determining a type of the object. | |
| inputPhoto | ( | ) |
A photo to be sent.
| inputPhoto | ( | object_ptr< InputFile > && | photo_, |
| object_ptr< inputThumbnail > && | thumbnail_, | ||
| object_ptr< InputFile > && | video_, | ||
| array< int32 > && | added_sticker_file_ids_, | ||
| int32 | width_, | ||
| int32 | height_ ) |
A photo to be sent.
| [in] | photo_ | Photo to be sent. The photo must be at most 10 MB in size. The photo's width and height must not exceed 10000 in total. Width and height ratio must be at most 20. |
| [in] | thumbnail_ | Photo thumbnail; pass null to skip thumbnail uploading. The thumbnail is sent to the other party only in secret chats. |
| [in] | video_ | Video of the live photo; not supported in secret chats; pass null if the photo isn't a live photo. |
| [in] | added_sticker_file_ids_ | File identifiers of the stickers added to the photo, if applicable. |
| [in] | width_ | Photo width; may be replaced by the server. |
| [in] | height_ | Photo height; may be replaced by the server. |
|
finalvirtual |