|
TDLib
|
Inherits Function.
Loads more Saved Messages topics. The loaded topics will be sent through updateSavedMessagesTopic. Topics are sorted by their topic.order in descending order. Returns a 404 error if all topics have been loaded.
Returns object_ptr<Ok>.
Public Types | |
| using | ReturnType = object_ptr<ok> |
| Typedef for the type returned by the function. | |
Public Member Functions | |
| loadSavedMessagesTopics () | |
| loadSavedMessagesTopics (int32 limit_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| int32 | limit_ |
| The maximum number of topics to be loaded. For optimal performance, the number of loaded topics is chosen by TDLib and can be smaller than the specified limit, even if the end of the list is not reached. | |
Static Public Attributes | |
| static const std::int32_t | ID = 289855160 |
| Identifier uniquely determining a type of the object. | |
| loadSavedMessagesTopics | ( | ) |
Default constructor for a function, which loads more Saved Messages topics. The loaded topics will be sent through updateSavedMessagesTopic. Topics are sorted by their topic.order in descending order. Returns a 404 error if all topics have been loaded.
Returns object_ptr<Ok>.
|
explicit |
Creates a function, which loads more Saved Messages topics. The loaded topics will be sent through updateSavedMessagesTopic. Topics are sorted by their topic.order in descending order. Returns a 404 error if all topics have been loaded.
Returns object_ptr<Ok>.
| [in] | limit_ | The maximum number of topics to be loaded. For optimal performance, the number of loaded topics is chosen by TDLib and can be smaller than the specified limit, even if the end of the list is not reached. |
|
finalvirtual |