The trigger node can listen to different updates. By default it listens to all. So it will trigger already on that reply. If you want that it triggers different nodes, you can simply create create two different nodes:
One that listens to only “message” to get triggered everytime you get a message
One that listens to only “callback_query” to get triggered everytime you get a callback response
Actually was a mistake that it listed by default to “all”. It should by default be empty and the user has to select what to listen to. I fixed that and released a new version.
No problem. Did also work with the old version but in the new version it forces the user to decide what to listen to and that will make it clearer. Listening by default to everything could cause some issues if people leave it like that and do not think about it anymore.
Another thing please:
When I send a message with"reply keyboard" to a user on telegram, my flow should be pause and should be waiting for user reply, but now if I use two node continually, the first message will be missed for reply.
I thing when a message have reply keyboard or inline keyboard, the flow should be pause and will be waiting for user reply, isn’t it?
I know what you mean but there is currently no way to do that. It is simply not how n8n works.
In n8n something triggers a workflow to start (with initial data) and then the nodes get executed. There is currently no way to “wait” in between for another webhook call. The only thing that can be done right now is to store the data you need later again somewhere (like Postgres) and then load it when the reply got received.
I wanted to create a simple “key → value store” node at some point which would make that quite simple.
I can’t find “Updating messages” in message method.
Updating messages
The following methods allow you to change an existing message in the message history instead of sending a new one with a result of an action. This is most useful for messages with inline keyboards using callback queries, but can also help reduce clutter in conversations with regular chat bots.
Please note, that it is currently only possible to edit messages without reply_markup or with inline keyboards.
Could you please tell me to how can I use this method please?
I guess you are talking about the “editMessageText” method?
That one did not get implemented yet so you will not be able to use it. The Telegram-API has a lot of methods and I did not implement all of them yet because else it would have taken me days. If there are however important methods you need, please simply tell me which ones and I can try to add them to the next version.
Greetings, community! Thanks for doing a great job.
It’s my first telegram bot here so I wonder is that possible to make bot listen to all messages in particular chat (being an admin of that chat). Looks like I need to set some additional parameters to telegram trigger, like chat id, but I don’t understand how. Will be very grateful for help