Telegram to DallE Bot

Set up

  1. 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

  2. Fork this @telegramBotHandler val below. Make sure you click Run to save it to your account.

  3. On your forked val, click the ⋮ menu > Endpoints > Copy express endpoint

  4. Message @ValTownBot /webhook

  5. Message @ValTownBot the express endpoint you copied

  6. You'll also need an openai key in your secrets for this particular DallE bot to work

Migrated from folder: Archive/telegramBotHandler