Telegram adding user to channel

I am using node-red-contrib-telegrambot
I would like to add some user to a channel.

When the user issues a /start-command to my bot, I offer the option to assign the user to some channel via an inline keyboard. This works so far. I also get the answer of the user.
If the user answers "yes", I would like to add the user to the channel.

I tried to send this to the bot, but nothing happens, not even an error message.

{"payload":{"type":"new_chat_members","chatId":"<chatid of the channel to add the user to>","content":[<username>]}

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