Menu

Chat SDK adds Telegram adapter support - Vercel
📰
0

Chat SDK adds Telegram adapter support - Vercel

Vercel News·Tobias Lins·4 days ago
#0MH5b2RG
#vercel#chat#telegram#adapter#message#teams
Reading 0:00
15s threshold

Chat SDK now supports Telegram, extending its single-codebase approach to Slack, Discord, GitHub, and Teams, with the new Telegram adapter . Teams can build bots that support mentions, message reactions, direct messages, and typing indicators. The adapter handles single file uploads and renders basic text cards, with buttons and link buttons that display as inline keyboard elements, allowing developers to create interactive workflows directly within Telegram chats. Get start with Telegram adapter setup: 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 } ` ) ; } ) ; Telegram does not expose full historical message APIs to bots, so message history relies on adapter-level caching.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More