Telegram

Telegram + Better-Notify

Send typed Telegram messages through the Bot API. Text, photos, documents, video, and audio — routed automatically based on your notification content.

Install

npm install @betternotify/telegram

Quick start

import { createClient } from '@betternotify/core';
import { telegramTransport } from '@betternotify/telegram';

const mail = createClient({
  catalog,
  transportsByChannel: {
    telegram: telegramTransport({ token: process.env.TELEGRAM_BOT_TOKEN }),
  },
});

await mail.orderUpdate.send({
  to: '123456789',
  input: { orderId: 'ORD-42', status: 'shipped' },
});

Features

Read the docsGet started

Related integrations