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

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

Inheritance diagram for td::td_api::getStarTransactions:
td::td_api::Function td::TlObject

Public Types

using ReturnType = object_ptr< starTransactions >
 Typedef for the type returned by the function.
 

Public Member Functions

 getStarTransactions ()
 
 getStarTransactions (object_ptr< MessageSender > &&owner_id_, string const &subscription_id_, object_ptr< TransactionDirection > &&direction_, string const &offset_, int32 limit_)
 
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< MessageSenderowner_id_
 Identifier of the owner of the Telegram Stars; can be the identifier of the current user, identifier of an owned bot, or identifier of a supergroup or a channel chat with supergroupFullInfo.can_get_star_revenue_statistics == true.
 
string subscription_id_
 If non-empty, only transactions related to the Star Subscription will be returned.
 
object_ptr< TransactionDirectiondirection_
 Direction of the transactions to receive; pass null to get all transactions.
 
string offset_
 Offset of the first transaction to return as received from the previous request; use empty string to get the first chunk of results.
 
int32 limit_
 The maximum number of transactions to return.
 

Static Public Attributes

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

Detailed Description

Returns the list of Telegram Star transactions for the specified owner.

Returns object_ptr<StarTransactions>.

Definition at line 112876 of file td_api.h.

Member Typedef Documentation

◆ ReturnType

Typedef for the type returned by the function.

Definition at line 112921 of file td_api.h.

Constructor & Destructor Documentation

◆ getStarTransactions() [1/2]

td::td_api::getStarTransactions::getStarTransactions ( )

Default constructor for a function, which returns the list of Telegram Star transactions for the specified owner.

Returns object_ptr<StarTransactions>.

◆ getStarTransactions() [2/2]

td::td_api::getStarTransactions::getStarTransactions ( object_ptr< MessageSender > &&  owner_id_,
string const &  subscription_id_,
object_ptr< TransactionDirection > &&  direction_,
string const &  offset_,
int32  limit_ 
)

Creates a function, which returns the list of Telegram Star transactions for the specified owner.

Returns object_ptr<StarTransactions>.

Parameters
[in]owner_id_Identifier of the owner of the Telegram Stars; can be the identifier of the current user, identifier of an owned bot, or identifier of a supergroup or a channel chat with supergroupFullInfo.can_get_star_revenue_statistics == true.
[in]subscription_id_If non-empty, only transactions related to the Star Subscription will be returned.
[in]direction_Direction of the transactions to receive; pass null to get all transactions.
[in]offset_Offset of the first transaction to return as received from the previous request; use empty string to get the first chunk of results.
[in]limit_The maximum number of transactions to return.

Member Function Documentation

◆ store()

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

◆ direction_

object_ptr<TransactionDirection> td::td_api::getStarTransactions::direction_

Direction of the transactions to receive; pass null to get all transactions.

Definition at line 112891 of file td_api.h.

◆ ID

const std::int32_t td::td_api::getStarTransactions::ID = -304141747
static

Identifier uniquely determining a type of the object.

Definition at line 112918 of file td_api.h.

◆ limit_

int32 td::td_api::getStarTransactions::limit_

The maximum number of transactions to return.

Definition at line 112895 of file td_api.h.

◆ offset_

string td::td_api::getStarTransactions::offset_

Offset of the first transaction to return as received from the previous request; use empty string to get the first chunk of results.

Definition at line 112893 of file td_api.h.

◆ owner_id_

object_ptr<MessageSender> td::td_api::getStarTransactions::owner_id_

Identifier of the owner of the Telegram Stars; can be the identifier of the current user, identifier of an owned bot, or identifier of a supergroup or a channel chat with supergroupFullInfo.can_get_star_revenue_statistics == true.

Definition at line 112887 of file td_api.h.

◆ subscription_id_

string td::td_api::getStarTransactions::subscription_id_

If non-empty, only transactions related to the Star Subscription will be returned.

Definition at line 112889 of file td_api.h.


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