Telegrambot with multiple chatID

Hello,

I need to send the same message to two users on telegram, is it possible to use multiple chatids in the same payload with node-red-contrib-telegrambot?
I have tried with this function but does not work

msg.payload = {
 chatId: 'xxxxxxx,xxxxxxx',
 type: 'message',
 content: 'test'
}
return msg;
1 Like

If you are using node-red-contrib-telegrambot, you cannot do it that way, you will need to output multiple messages. The underlying library that the node uses doesn't take multiple chatId's.

1 Like

Hm interesting.... maybe I should add this functionality in future.

2 Likes

Version 7.1.5 supports this feature now

3 Likes

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