console-chat
Run a chat room in the console
// server.jsconst http = const createChatServer = const createTelegramConnector = // Connect up telegram to see and respond to messagesconst telegramConnector = const server = http server
// client.jsconst createChatClient =
Linking to Telegram
The provided Telegram connector allows you to receive and send messages to the chatroom from your Telegram account.
The connector works through the Telegram Bot API.
First you will need to create a bot. Then start a conversation with the bot via your account (security reasons, bots can't initiate chats). Then you just need to provide the BOT_TOKEN and CHAT_ID to the connector constructor.