Chat SDK adds Telegram adapter support

Published: (February 27, 2026 at 08:00 AM EST)
1 min read

Source: Vercel Blog

Telegram Adapter Support

Chat SDK now supports Telegram, extending its single‑codebase approach to Slack, Discord, GitHub, and Teams with the new Telegram adapter.

Key Features

  • Mentions, reactions, direct messages, and typing indicators are supported.
  • Handles single file uploads and renders basic text cards.
  • Buttons and link buttons appear as inline keyboard elements, enabling interactive workflows directly within Telegram chats.

Getting Started

import { Chat } from "chat";
import { createTelegramAdapter } from "@chat-adapter/telegram";

const bot = new Chat({
  userName: "mybot",
  adapters: {
    telegram: createTelegramAdapter(),
  },
});

bot.onNewMention(async (thread, message) => {
  await thread.post(`You said: ${message.text}`);
});

Limitations

  • Telegram does not expose full historical message APIs to bots, so message history relies on adapter‑level caching.
  • Callback data is limited to 64 bytes.
  • The platform currently does not support modals or ephemeral messages.

Documentation

Read the full guide to set up and use the adapter: Telegram adapter documentation.

0 views
Back to Blog

Related posts

Read more »

The Last Dance with the past🕺

Introduction Hello dev.to community! A week ago I posted my first article introducing myself and explaining that I left web development to focus on cryptograph...