Inherits td::td_api::PushMessageContent.
|
int32 | total_count_ |
| Number of messages in the album.
|
|
bool | has_photos_ |
| True, if the album has at least one photo.
|
|
bool | has_videos_ |
| True, if the album has at least one video file.
|
|
bool | has_audios_ |
| True, if the album has at least one audio file.
|
|
bool | has_documents_ |
| True, if the album has at least one document.
|
|
|
static const std::int32_t | ID = -748426897 |
| Identifier uniquely determining a type of the object.
|
|
◆ pushMessageContentMediaAlbum() [1/2]
td::td_api::pushMessageContentMediaAlbum::pushMessageContentMediaAlbum |
( |
| ) |
|
◆ pushMessageContentMediaAlbum() [2/2]
td::td_api::pushMessageContentMediaAlbum::pushMessageContentMediaAlbum |
( |
int32 |
total_count_, |
|
|
bool |
has_photos_, |
|
|
bool |
has_videos_, |
|
|
bool |
has_audios_, |
|
|
bool |
has_documents_ |
|
) |
| |
A media album.
- Parameters
-
[in] | total_count_ | Number of messages in the album. |
[in] | has_photos_ | True, if the album has at least one photo. |
[in] | has_videos_ | True, if the album has at least one video file. |
[in] | has_audios_ | True, if the album has at least one audio file. |
[in] | has_documents_ | True, if the album has at least one document. |
◆ get_id()
std::int32_t td::td_api::pushMessageContentMediaAlbum::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::pushMessageContentMediaAlbum::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: