getStarTransactions()
Returns the bot's Telegram Star transactions in chronological order. On success, returns a StarTransactions object.
parameters
| parameter | type | required | description |
|---|---|---|---|
offset | number | optional | Number of transactions to skip in the response |
limit | number | optional | The maximum number of transactions to be retrieved. Values between 1-100 are accepted. Defaults to 100. |
returns
usage in yaebal
not (yet) hard-typed on Api — call it through the generic .call<T>() escape hatch documented in @yaebal/types.
import type { GetStarTransactionsParams, StarTransactions } from "@yaebal/types";
await bot.api.call<StarTransactions>("getStarTransactions", {} satisfies GetStarTransactionsParams);official Bot API docs: https://core.telegram.org/bots/api/#getstartransactions