Inherits Function.
Returns found forum topics in a forum chat. This is a temporary method for getting information about topic list from the server.
Returns object_ptr<ForumTopics>.
Public Fields | |
| int53 | chat_id_ |
| Identifier of the forum chat. | |
| string | query_ |
| Query to search for in the forum topic's name. | |
| int32 | offset_date_ |
| The date starting from which the results need to be fetched. Use 0 or any date in the future to get results from the last topic. | |
| int53 | offset_message_id_ |
| The message identifier of the last message in the last found topic, or 0 for the first request. | |
| int53 | offset_message_thread_id_ |
| The message thread identifier of the last found topic, or 0 for the first request. | |
| int32 | limit_ |
| The maximum number of forum topics to be returned; up to 100. For optimal performance, the number of returned forum topics is chosen by TDLib and can be smaller than the specified limit. | |
Public Types | |
| using | ReturnType = object_ptr< forumTopics > |
| Typedef for the type returned by the function. | |
Public Instance Methods | |
| getForumTopics () | |
| getForumTopics (int53 chat_id_, string const &query_, int32 offset_date_, int53 offset_message_id_, int53 offset_message_thread_id_, int32 limit_) | |
| 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 = -72647334 |
| Identifier uniquely determining a type of the object. | |
| getForumTopics | ( | ) |
Default constructor for a function, which returns found forum topics in a forum chat. This is a temporary method for getting information about topic list from the server.
Returns object_ptr<ForumTopics>.
| getForumTopics | ( | int53 | chat_id_, |
| string const & | query_, | ||
| int32 | offset_date_, | ||
| int53 | offset_message_id_, | ||
| int53 | offset_message_thread_id_, | ||
| int32 | limit_ | ||
| ) |
Creates a function, which returns found forum topics in a forum chat. This is a temporary method for getting information about topic list from the server.
Returns object_ptr<ForumTopics>.
| [in] | chat_id_ | Identifier of the forum chat. |
| [in] | query_ | Query to search for in the forum topic's name. |
| [in] | offset_date_ | The date starting from which the results need to be fetched. Use 0 or any date in the future to get results from the last topic. |
| [in] | offset_message_id_ | The message identifier of the last message in the last found topic, or 0 for the first request. |
| [in] | offset_message_thread_id_ | The message thread identifier of the last found topic, or 0 for the first request. |
| [in] | limit_ | The maximum number of forum topics to be returned; up to 100. For optimal performance, the number of returned forum topics is chosen by TDLib and can be smaller than the specified limit. |
|
finalvirtual |