getStarTransactions

Get star transactions.

Parameters

chatId: ID

The identifier of the chat to get star transactions for.

isTon?: boolean

Whether TON transactions should be returned.

isInbound?: boolean

Whether only inbound transactions should be returned.

isOutbound?: boolean

Whether only outbound transactions should be returned.

isAscending?: boolean

Whether results should be sorted in an ascending order.

subscriptionId?: string

Whether only transactions related to a specific subscription be returned.

offset?: string

An offset key returned by a previous result.

limit?: number

The maximum number of results to return.

Result

Syntax

// Required parameters only.
await client.getStarTransactions(chatId);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.getStarTransactions(chatId, {
    isTon,
    isInbound,
    isOutbound,
    isAscending,
    subscriptionId,
    offset,
    limit,
});