Telegram bot support [GOT CREATED]

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.

Yes, I talked about that method.
I will you could do that in next version.
Thank you

Ok did implement it.
https://github.com/n8n-io/n8n/commit/0207d436553739673e86dcdec4865143a4d5e8a1
Will be released within the next hours.

Ok new version n8n@0.23.0 got released.

2 curtidas

Hi dear @jan

Unfortunately in “chat” feature the “chatid” is missed. (Resource: chat)
It show below error:

ERROR: Could not get parameter “chatId”!

Could you please tell me it is my mistake or it is system issue?

Can you please post the node which displays that error-message. So that I can see the exact settings that I can reproduce it. Thanks!

Dear @jan
I’m sorry for this delay
Unfortunately we are behind on internet doors in Iran :rage:

Very sorry to hear! But glad to see that the doors are open again, at least for now.

Uh yes, is a bug and did also happen for multiple other operations. Got fixed now. Will be released with the next version:
https://github.com/n8n-io/n8n/commit/8bf90e6496ceb1d7ded04e6eed7b7f050224d479

1 curtida

Hi, any plan to add support for voice and voicenote type (Telegram Bot API) in the node? Thanks for the wonderful work.

Hey @alphamodel, welcome to the community.

Will add it to my list.

1 curtida

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 :smiling_face:

You can get some inspiration from this:

Thanks for sharing! Is there a way to transform a workflow code to a n8n nodes?