getUserChatBoosts
Returns UserChatBoosts ↗
Use this method to get the list of boosts added to a chat by a user. Requires administrator rights in the chat.
Required: chat_id, user_id
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_user_chat_boosts", { chat_id: "YOUR_CHAT_ID", user_id: 0})Parameters
chat_id number | string Required
Unique identifier for the chat or username of the channel (in the format @channelusername).
user_id number Required
Unique identifier of the target user.
Related methods
getAvailableGifts · getBusinessAccountGifts · getBusinessAccountStarBalance · getBusinessConnection · getChat · getChatAdministrators · getChatGifts · getChatMember · getChatMemberCount · getChatMenuButton · getCustomEmojiStickers · getFile · getForumTopicIconStickers · getGameHighScores · getMe · getMyCommands · getMyDefaultAdministratorRights · getMyDescription · getMyName · getMyShortDescription · getMyStarBalance · getStarTransactions · getStickerSet · getUpdates · getUserGifts · getUserProfileAudios · getUserProfilePhotos · getWebhookInfo