HNNewShowAskJobs
Built with Tanstack Start
Building a Telegram Bot with Cloudflare Workers, Durable Objects and Grammy(flashblaze.xyz)
23 points by flashblaze 8 hours ago | 5 comments
  • koakuma-chan4 hours ago

    Cute blog post. I would suggest to not use wrappers for building Telegram bots, and instead learn how it actually works. State management can be complex when building menus.

    • sixhobbits30 minutes ago |parent

      yeah I've built a bunch of small and medium bots and every time I've tried to use a library I've run into way more problems than just using the telegram API directly, which is definitely one of the nicer APIs I've used

      And between the really good docs and thousands of community wrappers, the agents can usually one-shot complex Telegram-API related features too.

    • flashblaze39 minutes ago |parent

      Will definitely give that a try next time

  • gowthamgts124 hours ago

    > Not everything has to be AI

    well, not everything has to be workers or serverless :)

    • flashblaze38 minutes ago |parent

      Haha. Been enjoying developing on the Workers platform. Can't go back now, lol.