telegramBotHandler
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
main.tsx
https://stevekrouse--b62d46d225f011f0ad23569c3dd06744.web.val.run

-
First you'll need to set yourself up to send and receive messages on Telegram. Follow all 5 steps here: https://www.val.town/v/stevekrouse.telegram
-
Fork this
@telegramBotHandlerval below. Make sure you clickRunto save it to your account. -
On your forked val, click the ⋮ menu > Endpoints > Copy express endpoint
-
Message @ValTownBot
/webhook -
Message @ValTownBot the express endpoint you copied
-
You'll also need an
openaikey in your secrets for this particular DallE bot to work
Migrated from folder: Archive/telegramBotHandler
