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

Inherits Object.

Description

Contains a list of users and chats that spend most money on paid messages and reactions in a live story.

Public Member Functions

 liveStoryDonors ()
 liveStoryDonors (int53 total_star_count_, array< object_ptr< paidReactor > > &&top_donors_)
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

array< object_ptr< paidReactor > > top_donors_
 List of top donors in the live story.
int53 total_star_count_
 Total amount of spend Telegram Stars.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ liveStoryDonors() [1/2]

liveStoryDonors ( )

Contains a list of users and chats that spend most money on paid messages and reactions in a live story.

◆ liveStoryDonors() [2/2]

liveStoryDonors ( int53 total_star_count_,
array< object_ptr< paidReactor > > && top_donors_ )

Contains a list of users and chats that spend most money on paid messages and reactions in a live story.

Parameters
[in]total_star_count_Total amount of spend Telegram Stars.
[in]top_donors_List of top donors in the live story.

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: