TDLib
Loading...
Searching...
No Matches
pushMessageContentMediaAlbum Class Referencefinal

Inherits PushMessageContent.

Description

A media album.

Public Member Functions

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

Public Attributes

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.
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.
int32 total_count_
 Number of messages in the album.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ pushMessageContentMediaAlbum() [1/2]

pushMessageContentMediaAlbum ( )

A media album.

◆ pushMessageContentMediaAlbum() [2/2]

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

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

Implements TlObject.


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