List of all members | Public Fields | Public Instance Methods | Static Public Attributes
foundPublicPosts Class Referencefinal

Inherits Object.

Description

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

Public Fields

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

Public Instance Methods

 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 Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ foundPublicPosts() [1/2]

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.

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