List of all members | Public Fields | Public Instance Methods | Static Public Attributes
pushMessageContentMediaAlbum Class Referencefinal

Inherits PushMessageContent.

Description

A media album.

Public Fields

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

Public Instance Methods

 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 Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ pushMessageContentMediaAlbum() [1/2]

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

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

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