Telegram - can't use query buttons and callbacks - by design

Due to Telegram API limitations, you can use just one Telegram trigger for each bot at a time

i was sure i read “one in workflow” , but, no, one at a time.
a bot => one trigger only !!!
after few hours of developing several solutions , even chatGPT conclude that 8n8 has flaw in the architecture.

  1. can use only Msg Trigger OR Callback Trigger. AT A TIME.
    no, separate workflow will not help.
    only ONE trigger will fire at a given time. so…
  2. to inject first row of button - you need to response to the user… to anything. meaning: Msg Trigger.
    But
    to response to the buttons - any button - you need a Callback Trigger…

conclusion: can not create nor use Query buttons interface.

No normal way to inject buttons UI AND to react on them

Please share your workflow? no need. it is logical issue. no workflow can solve it.

i even thought maybe a node can disable other node in runtime… to swith on/off triggers… :slight_smile:

Please - enlighten me. it is a very important logical problem if we want a clean buttons interface.
How you use it? How to inject and interact with the user via buttons and messages in one workflow? isn’t it a basic request for a bot ability?.. :slight_smile:

Information on your n8n setup

  • n8n version: Version 1.79.3
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (npm, n8n LOCAL ):
  • Operating system: UBUNTU 24

Could you provide some more context on what is occurring? Multiple telegram triggers don’t work? If they are setup via webhooks, this could be a limitation of telegram itself.

Investigating the docs:

You can see:

  • In a single chat, avoid sending more than one message per second. We may allow short bursts that go over this limit, but eventually you’ll begin receiving 429 errors.
  • In a group, bots are not be able to send more than 20 messages per minute.

Are those the kind of errors you are encountering? Or could you provide more details on the specific errors?

You can pay to increase limits:

Enabling paid broadcasts in @BotFather allows a bot to broadcast up to 1000 messages per second . Each message broadcasted over the free amount of 30 per second incurs a cost of 0.1 Stars per message , paid with Telegram Stars from the bot’s balance. In order to enable this feature, a bot must have at least 100,000 Stars on its balance and at least 100,000 monthly active users.

Hi!

In n8n you can select more than 1 trigger option per trigger:

After that, you can add a switch based on the trigger type:

And:

Hope it helps! :blush:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.