getMyStarBalance()
A method to get the current Telegram Stars balance of the bot. Requires no parameters. On success, returns a StarAmount object.
parameters
this method takes no parameters.
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 { StarAmount } from "@yaebal/types";
await bot.api.call<StarAmount>("getMyStarBalance");official Bot API docs: https://core.telegram.org/bots/api/#getmystarbalance