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

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

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

Public Member Functions

 stories ()
 
 stories (int32 total_count_, array< object_ptr< story > > &&stories_, array< int32 > &&pinned_story_ids_)
 
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

int32 total_count_
 Approximate total number of stories found.
 
array< object_ptr< story > > stories_
 The list of stories.
 
array< int32pinned_story_ids_
 Identifiers of the pinned stories; returned only in getChatPostedToChatPageStories with from_story_id == 0.
 

Static Public Attributes

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

Detailed Description

Represents a list of stories.

Definition at line 68486 of file td_api.h.

Constructor & Destructor Documentation

◆ stories() [1/2]

td::td_api::stories::stories ( )

Represents a list of stories.

◆ stories() [2/2]

td::td_api::stories::stories ( int32  total_count_,
array< object_ptr< story > > &&  stories_,
array< int32 > &&  pinned_story_ids_ 
)

Represents a list of stories.

Parameters
[in]total_count_Approximate total number of stories found.
[in]stories_The list of stories.
[in]pinned_story_ids_Identifiers of the pinned stories; returned only in getChatPostedToChatPageStories with from_story_id == 0.

Member Function Documentation

◆ store()

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

◆ ID

const std::int32_t td::td_api::stories::ID = 670157595
static

Identifier uniquely determining a type of the object.

Definition at line 68518 of file td_api.h.

◆ pinned_story_ids_

array<int32> td::td_api::stories::pinned_story_ids_

Identifiers of the pinned stories; returned only in getChatPostedToChatPageStories with from_story_id == 0.

Definition at line 68501 of file td_api.h.

◆ stories_

array<object_ptr<story> > td::td_api::stories::stories_

The list of stories.

Definition at line 68499 of file td_api.h.

◆ total_count_

int32 td::td_api::stories::total_count_

Approximate total number of stories found.

Definition at line 68497 of file td_api.h.


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