Inherits td::td_api::PushMessageContent.
|
object_ptr< photo > | photo_ |
| Message content; may be null.
|
|
string | caption_ |
| Photo caption.
|
|
bool | is_secret_ |
| True, if the photo is secret.
|
|
bool | is_pinned_ |
| True, if the message is a pinned message with the specified content.
|
|
|
static const std::int32_t | ID = 140631122 |
| Identifier uniquely determining a type of the object.
|
|
◆ pushMessageContentPhoto() [1/2]
td::td_api::pushMessageContentPhoto::pushMessageContentPhoto |
( |
| ) |
|
◆ pushMessageContentPhoto() [2/2]
td::td_api::pushMessageContentPhoto::pushMessageContentPhoto |
( |
object_ptr< photo > && |
photo_, |
|
|
string const & |
caption_, |
|
|
bool |
is_secret_, |
|
|
bool |
is_pinned_ |
|
) |
| |
A photo message.
- Parameters
-
[in] | photo_ | Message content; may be null. |
[in] | caption_ | Photo caption. |
[in] | is_secret_ | True, if the photo is secret. |
[in] | is_pinned_ | True, if the message is a pinned message with the specified content. |
◆ get_id()
std::int32_t td::td_api::pushMessageContentPhoto::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::pushMessageContentPhoto::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 td::TlObject.
The documentation for this class was generated from the following file: