# Telegram adding user to channel

**URL:** <https://discourse.nodered.org/t/telegram-adding-user-to-channel/81668>\
**Category:** General\
**Created:** [29 September 2023 10:07 UTC](https://discourse.nodered.org/t/telegram-adding-user-to-channel/81668 "2023-09-29T10:07:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![khfischbach](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/khfischbach/32/16627_2.png) [@khfischbach](https://discourse.nodered.org/u/khfischbach)\
**Post date:** [29 September 2023 10:07 UTC](https://discourse.nodered.org/t/telegram-adding-user-to-channel/81668/1 "2023-09-29T10:07:06Z")

</div>

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.

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

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [28 November 2023 10:07 UTC](https://discourse.nodered.org/t/telegram-adding-user-to-channel/81668/2 "2023-11-28T10:07:30Z")

</div>

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