Inherits Object.
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< chatFolderIcon > | icon_ |
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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 190948485 |
Identifier uniquely determining a type of the object. | |
chatFolderInfo | ( | ) |
Contains basic information about a chat folder.
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.
[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. |
|
finalvirtual |