Skip to content

getStarTransactions

Function · TDLib 1.8.67 · d1085f9c

Returns the list of Telegram Star transactions for the specified owner

getStarTransactions(
  owner_id: MessageSender,
  subscription_id: string,
  direction: TransactionDirection,
  offset: string,
  limit: int32
) → StarTransactions

owner_id

MessageSender

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

subscription_id

string

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

direction

TransactionDirection

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

offset

string

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

limit

int32

The maximum number of transactions to return