A simple API for interacting with Telegram chats.
Line break- [pagebreak] Allow multi-message responses
- [button|label|action] Add a quick reply button
- Links/Media Just include the URL
- S3 set MP3s to
audio/mp3, WhatsApp acceptedaudio/mpeg, so you will need to manually set the filetype. - bold
- italic
- underline
strikethrough- inline URL
inline fixed-width code-
pre-formatted fixed-width code block
-
pre-formatted fixed-width code block written in the Python programming language
const chatbot = new telegram.Telegram(telegramToken)
const { user, message } = await chatbot.parse(rawMessage)
const result = await chatbot.send(user, message)