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

Inherits Object.

Description

Contains basic information about a chat folder.

Public Fields

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

Public Instance Methods

 chatFolderInfo ()
 
 chatFolderInfo (int32 id_, string const &title_, 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 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 = 190948485
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ chatFolderInfo() [1/2]

Contains basic information about a chat folder.

◆ chatFolderInfo() [2/2]

chatFolderInfo ( int32  id_,
string const &  title_,
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]title_The title of the folder; 1-12 characters without line feeds.
[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.

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