TDLib
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
getStarTransactions Class Referencefinal

Inherits Function.

Description

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

Returns object_ptr<StarTransactions>.

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

object_ptr< TransactionDirection > direction_
 Direction of the transactions to receive; pass null to get all transactions.
 
int32 limit_
 The maximum number of transactions to return.
 
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.
 
object_ptr< MessageSender > 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.
 
string subscription_id_
 If non-empty, only transactions related to the Star Subscription will be returned.
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ getStarTransactions() [1/2]

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

Returns object_ptr<StarTransactions>.

◆ getStarTransactions() [2/2]

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