tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::getForumTopics Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::getForumTopics:
td::td_api::Function td::TlObject

Public Types

using ReturnType = object_ptr< forumTopics >
 Typedef for the type returned by the function.
 

Public Member Functions

 getForumTopics ()
 
 getForumTopics (int53 chat_id_, string const &query_, int32 offset_date_, int53 offset_message_id_, int32 offset_forum_topic_id_, int32 limit_)
 
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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

int53 chat_id_
 Identifier of the chat.
 
string query_
 Query to search for in the forum topic&#x27;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.
 
int32 offset_forum_topic_id_
 The forum topic 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.
 

Static Public Attributes

static const std::int32_t ID = 1368275676
 Identifier uniquely determining a type of the object.
 

Detailed Description

Returns found forum topics in a forum supergroup chat or a chat with a bot with topics. This is a temporary method for getting information about topic list from the server.

Returns object_ptr<ForumTopics>.

Definition at line 106224 of file td_api.h.

Member Typedef Documentation

◆ ReturnType

Typedef for the type returned by the function.

Definition at line 106272 of file td_api.h.

Constructor & Destructor Documentation

◆ getForumTopics() [1/2]

td::td_api::getForumTopics::getForumTopics ( )

Default constructor for a function, which returns found forum topics in a forum supergroup chat or a chat with a bot with topics. This is a temporary method for getting information about topic list from the server.

Returns object_ptr<ForumTopics>.

◆ getForumTopics() [2/2]

td::td_api::getForumTopics::getForumTopics ( int53  chat_id_,
string const &  query_,
int32  offset_date_,
int53  offset_message_id_,
int32  offset_forum_topic_id_,
int32  limit_ 
)

Creates a function, which returns found forum topics in a forum supergroup chat or a chat with a bot with topics. This is a temporary method for getting information about topic list from the server.

Returns object_ptr<ForumTopics>.

Parameters
[in]chat_id_Identifier of the chat.
[in]query_Query to search for in the forum topic&#x27;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_forum_topic_id_The forum topic 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.

Member Function Documentation

◆ store()

void td::td_api::getForumTopics::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ chat_id_

int53 td::td_api::getForumTopics::chat_id_

Identifier of the chat.

Definition at line 106235 of file td_api.h.

◆ ID

const std::int32_t td::td_api::getForumTopics::ID = 1368275676
static

Identifier uniquely determining a type of the object.

Definition at line 106269 of file td_api.h.

◆ limit_

int32 td::td_api::getForumTopics::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.

Definition at line 106245 of file td_api.h.

◆ offset_date_

int32 td::td_api::getForumTopics::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.

Definition at line 106239 of file td_api.h.

◆ offset_forum_topic_id_

int32 td::td_api::getForumTopics::offset_forum_topic_id_

The forum topic identifier of the last found topic, or 0 for the first request.

Definition at line 106243 of file td_api.h.

◆ offset_message_id_

int53 td::td_api::getForumTopics::offset_message_id_

The message identifier of the last message in the last found topic, or 0 for the first request.

Definition at line 106241 of file td_api.h.

◆ query_

string td::td_api::getForumTopics::query_

Query to search for in the forum topic&#x27;s name.

Definition at line 106237 of file td_api.h.


The documentation for this class was generated from the following file: