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::foundPublicPosts Class Referencefinal

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

Inheritance diagram for td::td_api::foundPublicPosts:
td::td_api::Object td::TlObject

Public Member Functions

 foundPublicPosts ()
 
 foundPublicPosts (array< object_ptr< message > > &&messages_, string const &next_offset_, object_ptr< publicPostSearchLimits > &&search_limits_, bool are_limits_exceeded_)
 
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

array< object_ptr< message > > messages_
 List of found public posts.
 
string next_offset_
 The offset for the next request. If empty, then there are no more results.
 
object_ptr< publicPostSearchLimitssearch_limits_
 Updated public post search limits after the query; repeated requests with the same query will be free; may be null if they didn&#x27;t change.
 
bool are_limits_exceeded_
 True, if the query has failed because search limits are exceeded. In this case search_limits.daily_free_query_count will be equal to 0.
 

Static Public Attributes

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

Detailed Description

Contains a list of messages found by a public post search.

Definition at line 22485 of file td_api.h.

Constructor & Destructor Documentation

◆ foundPublicPosts() [1/2]

td::td_api::foundPublicPosts::foundPublicPosts ( )

Contains a list of messages found by a public post search.

◆ foundPublicPosts() [2/2]

td::td_api::foundPublicPosts::foundPublicPosts ( array< object_ptr< message > > &&  messages_,
string const &  next_offset_,
object_ptr< publicPostSearchLimits > &&  search_limits_,
bool  are_limits_exceeded_ 
)

Contains a list of messages found by a public post search.

Parameters
[in]messages_List of found public posts.
[in]next_offset_The offset for the next request. If empty, then there are no more results.
[in]search_limits_Updated public post search limits after the query; repeated requests with the same query will be free; may be null if they didn&#x27;t change.
[in]are_limits_exceeded_True, if the query has failed because search limits are exceeded. In this case search_limits.daily_free_query_count will be equal to 0.

Member Function Documentation

◆ store()

void td::td_api::foundPublicPosts::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

◆ are_limits_exceeded_

bool td::td_api::foundPublicPosts::are_limits_exceeded_

True, if the query has failed because search limits are exceeded. In this case search_limits.daily_free_query_count will be equal to 0.

Definition at line 22502 of file td_api.h.

◆ ID

const std::int32_t td::td_api::foundPublicPosts::ID = 1231347940
static

Identifier uniquely determining a type of the object.

Definition at line 22520 of file td_api.h.

◆ messages_

array<object_ptr<message> > td::td_api::foundPublicPosts::messages_

List of found public posts.

Definition at line 22496 of file td_api.h.

◆ next_offset_

string td::td_api::foundPublicPosts::next_offset_

The offset for the next request. If empty, then there are no more results.

Definition at line 22498 of file td_api.h.

◆ search_limits_

object_ptr<publicPostSearchLimits> td::td_api::foundPublicPosts::search_limits_

Updated public post search limits after the query; repeated requests with the same query will be free; may be null if they didn&#x27;t change.

Definition at line 22500 of file td_api.h.


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