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::chatFolderInfo Class Referencefinal

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

Inheritance diagram for td::td_api::chatFolderInfo:
td::td_api::Object td::TlObject

Public Member Functions

 chatFolderInfo ()
 
 chatFolderInfo (int32 id_, object_ptr< chatFolderName > &&name_, object_ptr< chatFolderIcon > &&icon_, int32 color_id_, bool is_shareable_, bool has_my_invite_links_)
 
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.
 
object_ptr< chatFolderNamename_
 The name of the folder.
 
object_ptr< chatFolderIconicon_
 The chosen or default icon for the chat folder.
 
int32 color_id_
 The identifier of the chosen color for the chat folder icon; from -1 to 6. If -1, then color is disabled.
 
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 = 815535117
 Identifier uniquely determining a type of the object.
 

Detailed Description

Contains basic information about a chat folder.

Definition at line 13015 of file td_api.h.

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_,
object_ptr< chatFolderName > &&  name_,
object_ptr< chatFolderIcon > &&  icon_,
int32  color_id_,
bool  is_shareable_,
bool  has_my_invite_links_ 
)

Contains basic information about a chat folder.

Parameters
[in]id_Unique chat folder identifier.
[in]name_The name of the folder.
[in]icon_The chosen or default icon for the chat folder.
[in]color_id_The identifier of the chosen color for the chat folder icon; from -1 to 6. If -1, then color is disabled.
[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

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

Member Data Documentation

◆ color_id_

int32 td::td_api::chatFolderInfo::color_id_

The identifier of the chosen color for the chat folder icon; from -1 to 6. If -1, then color is disabled.

Definition at line 13032 of file td_api.h.

◆ has_my_invite_links_

bool td::td_api::chatFolderInfo::has_my_invite_links_

True, if the chat folder has invite links created by the current user.

Definition at line 13036 of file td_api.h.

◆ icon_

object_ptr<chatFolderIcon> td::td_api::chatFolderInfo::icon_

The chosen or default icon for the chat folder.

Definition at line 13030 of file td_api.h.

◆ ID

const std::int32_t td::td_api::chatFolderInfo::ID = 815535117
static

Identifier uniquely determining a type of the object.

Definition at line 13056 of file td_api.h.

◆ id_

int32 td::td_api::chatFolderInfo::id_

Unique chat folder identifier.

Definition at line 13026 of file td_api.h.

◆ is_shareable_

bool td::td_api::chatFolderInfo::is_shareable_

True, if at least one link has been created for the folder.

Definition at line 13034 of file td_api.h.

◆ name_

object_ptr<chatFolderName> td::td_api::chatFolderInfo::name_

The name of the folder.

Definition at line 13028 of file td_api.h.


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