Inherits Object.
|
|
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 const std::int32_t | ID = -1695176164 |
| | Identifier uniquely determining a type of the object.
|
| |
◆ inputPhoto() [1/2]
◆ inputPhoto() [2/2]
A photo to be sent.
- Parameters
-
| [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. |
◆ store()
| void store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements TlObject.
The documentation for this class was generated from the following file: