import { WebhookAlertChannel } from './webhook-alert-channel'; import { AlertChannelProps } from './alert-channel'; export interface TelegramAlertChannelProps extends AlertChannelProps { /** * Friendly name to recognise the integration. */ name: string; /** * The chat ID of your Telegram bot. * {@link https://www.checklyhq.com/docs/integrations/alerts/telegram/} */ chatId: string; /** * The API key for your Telegram bot. * {@link https://www.checklyhq.com/docs/integrations/alerts/telegram/} */ apiKey: string; /** * An optional custom payload. If not given, * `TelegramAlertChannel.DEFAULT_PAYLOAD` will be used. */ payload?: string; } /** * Creates a Telegram Alert Channel * * @remarks * * This class make use of the Alert Channel endpoints. */ export declare class TelegramAlertChannel extends WebhookAlertChannel { static DEFAULT_PAYLOAD: string; /** * Constructs the Telegram Alert Channel instance * * @param logicalId unique project-scoped resource name identification * @param props Telegram alert channel configuration properties * Fix following url: * {@link https://checklyhq.com/docs/cli/constructs/#telegramalertchannel Read more in the docs} */ constructor(logicalId: string, props: TelegramAlertChannelProps); describe(): string; synthesize(): any; }