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

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

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

Public Member Functions

 starSubscriptions ()
 
 starSubscriptions (object_ptr< starAmount > &&star_amount_, array< object_ptr< starSubscription > > &&subscriptions_, int53 required_star_count_, string const &next_offset_)
 
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

object_ptr< starAmountstar_amount_
 The amount of owned Telegram Stars.
 
array< object_ptr< starSubscription > > subscriptions_
 List of subscriptions for Telegram Stars.
 
int53 required_star_count_
 The number of Telegram Stars required to buy to extend subscriptions expiring soon.
 
string next_offset_
 The offset for the next request. If empty, then there are no more results.
 

Static Public Attributes

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

Detailed Description

Represents a list of Telegram Star subscriptions.

Definition at line 64914 of file td_api.h.

Constructor & Destructor Documentation

◆ starSubscriptions() [1/2]

td::td_api::starSubscriptions::starSubscriptions ( )

Represents a list of Telegram Star subscriptions.

◆ starSubscriptions() [2/2]

td::td_api::starSubscriptions::starSubscriptions ( object_ptr< starAmount > &&  star_amount_,
array< object_ptr< starSubscription > > &&  subscriptions_,
int53  required_star_count_,
string const &  next_offset_ 
)

Represents a list of Telegram Star subscriptions.

Parameters
[in]star_amount_The amount of owned Telegram Stars.
[in]subscriptions_List of subscriptions for Telegram Stars.
[in]required_star_count_The number of Telegram Stars required to buy to extend subscriptions expiring soon.
[in]next_offset_The offset for the next request. If empty, then there are no more results.

Member Function Documentation

◆ store()

void td::td_api::starSubscriptions::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::starSubscriptions::ID = 151169395
static

Identifier uniquely determining a type of the object.

Definition at line 64949 of file td_api.h.

◆ next_offset_

string td::td_api::starSubscriptions::next_offset_

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

Definition at line 64931 of file td_api.h.

◆ required_star_count_

int53 td::td_api::starSubscriptions::required_star_count_

The number of Telegram Stars required to buy to extend subscriptions expiring soon.

Definition at line 64929 of file td_api.h.

◆ star_amount_

object_ptr<starAmount> td::td_api::starSubscriptions::star_amount_

The amount of owned Telegram Stars.

Definition at line 64925 of file td_api.h.

◆ subscriptions_

array<object_ptr<starSubscription> > td::td_api::starSubscriptions::subscriptions_

List of subscriptions for Telegram Stars.

Definition at line 64927 of file td_api.h.


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