Telegram Integrations
Fetch Telegram Integration
Fetch a telegramIntegration
get
/v1/integration/telegram/{telegramIntegrationId}/fetch
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
telegramIntegrationIdstring* Required
The ID of the Telegram integration to retrieve
import { ChatBotKit } from '@chatbotkit/sdk'
const cbk = new ChatBotKit({
secret: process.env.CHATBOTKIT_API_KEY!
})
const response = await cbk.integration.telegram.fetch(
telegramIntegrationId)
{"name":"string","description":"string","meta":"object","id":"string","createdAt":"number","updatedAt":"number","contactCollection":"boolean","sessionDuration":"number","attachments":"boolean","botId":"string"}
The Telegram integration was retrieved successfully