Skip to content

getBusinessConnection

Returns BusinessConnection

Use this method to get information about the connection of the bot with a business account.

Required: business_connection_id

Try it
Token saved
Response

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_business_connection", {
business_connection_id: "..."
})

Parameters

business_connection_id string Required
Unique identifier of the business connection.

getAvailableGifts · getBusinessAccountGifts · getBusinessAccountStarBalance · getChat · getChatAdministrators · getChatGifts · getChatMember · getChatMemberCount · getChatMenuButton · getCustomEmojiStickers · getFile · getForumTopicIconStickers · getGameHighScores · getMe · getMyCommands · getMyDefaultAdministratorRights · getMyDescription · getMyName · getMyShortDescription · getMyStarBalance · getStarTransactions · getStickerSet · getUpdates · getUserChatBoosts · getUserGifts · getUserProfileAudios · getUserProfilePhotos · getWebhookInfo