Hi everyone, me and my friends are thinking of making a Telegram bot to use GPT-4 as one of us has access to the API.

We’re not going to release the bot to the public (only use between us), however we’d like the bot to run 24/7 so it’s accessible whenever one of us needs it. Sadly we can’t host it ourselves as neither of us is able to get a Static IP and has a free machine to run 24/7.

My question is, are there any recommended hosting providers (if it’s free even better) where we could host our telegram bot on? Thanks!

  • yungsinatra@kbin.socialOP
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I’m not sure I understand how I could use polling in this case. Would I just keep sending requests to the endpoint to see if there are any new messages sent or something like that?

    • Qazwsxedcrfv000@lemmy.unknownsys.com
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      Yes Telegram bot API supports long polling which is basically your server making successive long-running requests to the Telegram server and wait for a response.