Payments

getStarTransactions()

Returns the bot's Telegram Star transactions in chronological order. On success, returns a StarTransactions object.

parameters

parametertyperequireddescription
offsetnumberoptionalNumber of transactions to skip in the response
limitnumberoptionalThe maximum number of transactions to be retrieved. Values between 1-100 are accepted. Defaults to 100.

returns

StarTransactions

usage in yaebal

getStarTransactions is directly typed on Api — call it straight off bot.api.

bot.ts
import type { GetStarTransactionsParams } from "@yaebal/types";

await bot.api.getStarTransactions({} satisfies GetStarTransactionsParams);