/** * TelegramTransport — how the delivery layer sends on Telegram. * * Telegram supports editing and typing indicators, so it can do every * delivery mode (final / typing+final / edit-stream); the platform limit is * 4096 chars. `target` is the chat id (a string). */ import type { ChannelTransport } from '../delivery.js'; import type { TelegramApi } from './api.js'; export declare class TelegramTransport implements ChannelTransport { private readonly api; readonly maxChars = 4096; readonly supportsEdit = true; readonly supportsTyping = true; constructor(api: TelegramApi); sendText(target: string, text: string): Promise; editText(target: string, messageId: string, text: string): Promise; sendTyping(target: string): Promise; } //# sourceMappingURL=transport.d.ts.map