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

Inherits td::td_api::Object.

Public Member Functions

 chatFolderInfo ()
 
 chatFolderInfo (int32 id_, string const &title_, object_ptr< chatFolderIcon > &&icon_, bool is_shareable_, bool has_my_invite_links_)
 
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 id_
 Unique chat folder identifier.
 
string title_
 The title of the folder; 1-12 characters without line feeds.
 
object_ptr< chatFolderIconicon_
 The chosen or default icon for the chat folder.
 
bool is_shareable_
 True, if at least one link has been created for the folder.
 
bool has_my_invite_links_
 True, if the chat folder has invite links created by the current user.
 

Static Public Attributes

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

Detailed Description

Contains basic information about a chat folder.

Constructor & Destructor Documentation

◆ chatFolderInfo() [1/2]

td::td_api::chatFolderInfo::chatFolderInfo ( )

Contains basic information about a chat folder.

◆ chatFolderInfo() [2/2]

td::td_api::chatFolderInfo::chatFolderInfo ( int32  id_,
string const &  title_,
object_ptr< chatFolderIcon > &&  icon_,
bool  is_shareable_,
bool  has_my_invite_links_ 
)

Contains basic information about a chat folder.

Parameters
[in]id_Unique chat folder identifier.
[in]title_The title of the folder; 1-12 characters without line feeds.
[in]icon_The chosen or default icon for the chat folder.
[in]is_shareable_True, if at least one link has been created for the folder.
[in]has_my_invite_links_True, if the chat folder has invite links created by the current user.

Member Function Documentation

◆ get_id()

std::int32_t td::td_api::chatFolderInfo::get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ store()

void td::td_api::chatFolderInfo::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: