/** * Telegram Adapter — Uses grammy for bot communication. * * Auth: TELEGRAM_BOT_TOKEN from @BotFather * Mode: Long-polling (no webhook, no public URL needed) */ import { MessageBuffer } from '../buffer.js'; import type { ChannelAdapter, ChannelInfo, ChannelMessage, ChannelState, HistoryOptions, Platform, SendOptions, SendResult } from '../adapter.js'; export declare class TelegramAdapter implements ChannelAdapter { readonly platform: Platform; state: ChannelState; readonly buffer: MessageBuffer; private bot; private botId; private knownChats; private token; constructor(token: string, bufferSize?: number); connect(): Promise; disconnect(): Promise; send(options: SendOptions): Promise; getHistory(options: HistoryOptions): Promise; listChannels(): Promise; isHealthy(): Promise; } //# sourceMappingURL=telegram.d.ts.map