Inherits Function.
Returns approximate number of chats in a being created chat folder. Main and archive chat lists must be fully preloaded for this function to work correctly.
Returns object_ptr<Count>.
Public Fields | |
| object_ptr< chatFolder > | folder_ |
| The new chat folder. | |
Public Types | |
| using | ReturnType = object_ptr< count > |
| Typedef for the type returned by the function. | |
Public Instance Methods | |
| getChatFolderChatCount () | |
| getChatFolderChatCount (object_ptr< chatFolder > &&folder_) | |
| 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 = 2111097790 |
| Identifier uniquely determining a type of the object. | |
Default constructor for a function, which returns approximate number of chats in a being created chat folder. Main and archive chat lists must be fully preloaded for this function to work correctly.
Returns object_ptr<Count>.
|
explicit |
Creates a function, which returns approximate number of chats in a being created chat folder. Main and archive chat lists must be fully preloaded for this function to work correctly.
Returns object_ptr<Count>.
| [in] | folder_ | The new chat folder. |
|
finalvirtual |