Inherits td::td_api::InlineQueryResult.
|
string | id_ |
| Unique identifier of the query result.
|
|
object_ptr< photo > | photo_ |
| Photo.
|
|
string | title_ |
| Title of the result, if known.
|
|
string | description_ |
| A short description of the result, if known.
|
|
|
static const std::int32_t | ID = 1848319440 |
| Identifier uniquely determining a type of the object.
|
|
◆ inlineQueryResultPhoto() [1/2]
td::td_api::inlineQueryResultPhoto::inlineQueryResultPhoto |
( |
| ) |
|
◆ inlineQueryResultPhoto() [2/2]
Represents a photo.
- Parameters
-
[in] | id_ | Unique identifier of the query result. |
[in] | photo_ | Photo. |
[in] | title_ | Title of the result, if known. |
[in] | description_ | A short description of the result, if known. |
◆ get_id()
std::int32_t td::td_api::inlineQueryResultPhoto::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::inlineQueryResultPhoto::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: