Interface GetStarTransactions

Returns the list of Telegram Star transactions for the specified owner. Request type for Tdjson#getStarTransactions.

interface GetStarTransactions {
    @type: "getStarTransactions";
    direction: StarTransactionDirection;
    limit: number;
    offset: string;
    owner_id: MessageSender;
    subscription_id: string;
}

Properties

@type: "getStarTransactions"

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

limit: number

The maximum number of transactions to return.

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.

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