tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::pushMessageContentMediaAlbum Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::pushMessageContentMediaAlbum:
td::td_api::PushMessageContent td::td_api::Object td::TlObject

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

Definition at line 57894 of file td_api.h.

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

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

Member Data Documentation

◆ has_audios_

bool td::td_api::pushMessageContentMediaAlbum::has_audios_

True, if the album has at least one audio file.

Definition at line 57911 of file td_api.h.

◆ has_documents_

bool td::td_api::pushMessageContentMediaAlbum::has_documents_

True, if the album has at least one document.

Definition at line 57913 of file td_api.h.

◆ has_photos_

bool td::td_api::pushMessageContentMediaAlbum::has_photos_

True, if the album has at least one photo.

Definition at line 57907 of file td_api.h.

◆ has_videos_

bool td::td_api::pushMessageContentMediaAlbum::has_videos_

True, if the album has at least one video file.

Definition at line 57909 of file td_api.h.

◆ ID

const std::int32_t td::td_api::pushMessageContentMediaAlbum::ID = -748426897
static

Identifier uniquely determining a type of the object.

Definition at line 57932 of file td_api.h.

◆ total_count_

int32 td::td_api::pushMessageContentMediaAlbum::total_count_

Number of messages in the album.

Definition at line 57905 of file td_api.h.


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