getMyStarBalance
Returns StarAmount ↗
A method to get the current Telegram Stars balance of the bot. Requires no parameters.
Try it
TypeScript example · @effect-ak/tg-bot-client
import { makeTgBotClient } from "@effect-ak/tg-bot-client"
const client = makeTgBotClient({ bot_token: "YOUR_BOT_TOKEN" })
const result = await client.execute("get_my_star_balance")Related methods
getAvailableGifts · getBusinessAccountGifts · getBusinessAccountStarBalance · getBusinessConnection · getChat · getChatAdministrators · getChatGifts · getChatMember · getChatMemberCount · getChatMenuButton · getCustomEmojiStickers · getFile · getForumTopicIconStickers · getGameHighScores · getMe · getMyCommands · getMyDefaultAdministratorRights · getMyDescription · getMyName · getMyShortDescription · getStarTransactions · getStickerSet · getUpdates · getUserChatBoosts · getUserGifts · getUserProfileAudios · getUserProfilePhotos · getWebhookInfo