TDLib
Loading...
Searching...
No Matches
foundPublicPosts Class Referencefinal

Inherits Object.

Description

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

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 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

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.
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< publicPostSearchLimits > 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't change.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ foundPublicPosts() [1/2]

foundPublicPosts ( )

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

◆ foundPublicPosts() [2/2]

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'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 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 TlObject.


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