TDLib
|
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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (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< chatFolderIcon > | icon_ |
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. | |
Contains basic information about a chat folder.
td::td_api::chatFolderInfo::chatFolderInfo | ( | ) |
Contains basic information about a chat folder.
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.
[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. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.