You must create a temporary bot account using @BotFather.
Then, build this example:
wrangler buildBefore running the example, you should store your bot token to Cloudflare secrets.
wrangler secret put BOT_TOKENYou can now run the example.
wrangler dev
curl 127.0.0.1:8787