TDLib
Loading...
Searching...
No Matches
td::td_api::pushMessageContentMediaAlbum Class Referencefinal

Inherits td::td_api::PushMessageContent.

Public Member Functions

 pushMessageContentMediaAlbum ()
 
 pushMessageContentMediaAlbum (int32 total_count_, bool has_photos_, bool has_videos_, bool has_audios_, bool has_documents_)
 
std::int32_t get_id () const final
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

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 Public Attributes

static const std::int32_t ID = -748426897
 Identifier uniquely determining a type of the object.
 

Detailed Description

A media album.

Constructor & Destructor Documentation

◆ pushMessageContentMediaAlbum() [1/2]

td::td_api::pushMessageContentMediaAlbum::pushMessageContentMediaAlbum ( )

A media album.

◆ 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.

Member Function Documentation

◆ 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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.


The documentation for this class was generated from the following file: