Inherits InputMessageContent.
|
static const std::int32_t | ID = 1648801584 |
| Identifier uniquely determining a type of the object.
|
|
◆ inputMessagePhoto() [1/2]
◆ inputMessagePhoto() [2/2]
A photo message.
- Parameters
-
[in] | photo_ | Photo to send. |
[in] | thumbnail_ | Photo thumbnail to be sent; pass null to skip thumbnail uploading. The thumbnail is sent to the other party only in secret chats. |
[in] | added_sticker_file_ids_ | File identifiers of the stickers added to the photo, if applicable. |
[in] | width_ | Photo width. |
[in] | height_ | Photo height. |
[in] | caption_ | Photo caption; pass null to use an empty caption; 0-GetOption("message_caption_length_max") characters. |
[in] | ttl_ | Photo TTL (Time To Live), in seconds (0-60). A non-zero TTL can be specified only in private chats. |
◆ get_id()
std::int32_t get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements TlObject.
◆ 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: