Skip to content

Support running multiple workers off the same Telegram bot #8

@RauchF

Description

@RauchF

Currently the Telegram API only supports one instance of a bot to queue for updates. That means that to be able to use multiple workers for a single Telegram bot, we'll need to implement some sort of funneling ourselves - or a webhook, which the Telegram bot API also supports. Might be a good candidate for a feature flag.

edit: There's actually a bunch of work to do for that. We'll need to:

  • add a HTTP endpoint that receives the webhook
  • handle registering (and unregistering) the webhook with the Telegram API
  • update our Helm chart

Metadata

Metadata

Assignees

No one assigned

    Labels

    scalabilityImprovements to scalability

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions