# Node-red-contrib-chatbot

**URL:** <https://discourse.nodered.org/t/node-red-contrib-chatbot/81010>\
**Category:** General\
**Created:** [3 September 2023 18:40 UTC](https://discourse.nodered.org/t/node-red-contrib-chatbot/81010 "2023-09-03T18:40:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaxTryhub](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maxtryhub/32/82547_2.png) [@MaxTryhub](https://discourse.nodered.org/u/MaxTryhub)\
**Post date:** [3 September 2023 18:40 UTC](https://discourse.nodered.org/t/node-red-contrib-chatbot/81010/1 "2023-09-03T18:40:12Z")

</div>

I’m just starting to study node-red, I didn’t find in the documentation why the message is not sent, I connected node-red-contrib-chatbot, and I want to send a message (let payload = {  
chatId: \*\*\*\*\*\*,  
type: "message",  
content: ..... ${msg.number} ......  
}  
return { payload }; ) from the function when I directly connect the function to Telegram sender and when calling inject into the bot nothing is sent. I would be very grateful for your help

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [5 September 2023 01:01 UTC](https://discourse.nodered.org/t/node-red-contrib-chatbot/81010/2 "2023-09-05T01:01:44Z")

</div>

I would suggest you paste the relevant part of your flow -

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

<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:** [4 November 2023 01:01 UTC](https://discourse.nodered.org/t/node-red-contrib-chatbot/81010/3 "2023-11-04T01:01:57Z")

</div>

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