Interface TelegramAuthParams

Platform-specific parameters for Telegram connections.

interface TelegramAuthParams {
    botToken?: string;
    webhookUrl?: string;
    webhookSecret?: string;
}

Hierarchy

  • Record<string, string | undefined>
    • TelegramAuthParams

Properties

botToken?: string

Bot token from BotFather. If provided, overrides credential.

webhookUrl?: string

Webhook URL. If not provided, long polling is used.

webhookSecret?: string

Webhook secret token for verifying incoming updates.