# Temp to Telegram Channel

**URL:** https://discourse.nodered.org/t/temp-to-telegram-channel/19983
**Category:** General
**Created:** [6 January 2020 20:37 UTC](https://discourse.nodered.org/t/temp-to-telegram-channel/19983 "2020-01-06T20:37:13Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ScheepersJohan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scheepersjohan/32/39556_2.png) [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)
#### Post date: [6 January 2020 20:37 UTC](https://discourse.nodered.org/t/temp-to-telegram-channel/19983/1 "2020-01-06T20:37:14Z")

</div>

Hi,

I have a flow that sends the room temp to Telegram bot periodical, it can also reply the temp if I send any message to it.

I actually want the send the temp to a Telegram Channel, any one with some help please will be appreciated.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/1ec2a9889ad0ce15790d8f1b5721e3a9fd46ee89.png)

```auto
[{"id":"725704e8.f9360c","type":"tab","label":"Flow 4","disabled":false,"info":""},{"id":"2305abc3.93c094","type":"inject","z":"725704e8.f9360c","name":"","topic":"aaa","payload":"","payloadType":"date","repeat":"300","crontab":"","once":true,"onceDelay":0.1,"x":120,"y":200,"wires":[["48dfc5b8.fa4bfc"]]},{"id":"48dfc5b8.fa4bfc","type":"change","z":"725704e8.f9360c","name":"","rules":[{"t":"set","p":"number","pt":"msg","to":"payload","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":340,"y":200,"wires":[["561b7f75.6ad35"]]},{"id":"561b7f75.6ad35","type":"function","z":"725704e8.f9360c","name":"Sende Payload als Nachricht","func":"var msg1 = {\n\"payload\": {\"chatId\" : \"your chatId\",\n\"type\" : 'message',\n\"content\" : \"\"+msg.payload+\"\"} };\nreturn msg1;","outputs":1,"noerr":0,"x":320,"y":260,"wires":[["6b94036b.a786ec"]]},{"id":"8c31a904.fa94a8","type":"sensor-ds18b20","z":"725704e8.f9360c","name":"","topic":"","sensorid":"28-000006c7f31d","timer":"21600","repeat":true,"x":310,"y":140,"wires":[["48dfc5b8.fa4bfc","6f1a4a34.b55484"]]},{"id":"6b94036b.a786ec","type":"chatbot-conversation","z":"725704e8.f9360c","name":"","botDevelopment":"","botProduction":"e31c14d7.eb4108","chatId":"","userId":"","transport":"telegram","store":"","x":570,"y":260,"wires":[["eebda6eb.66ea38","81848a05.31b5c8"]]},{"id":"f227c037.96b3b","type":"chatbot-telegram-receive","z":"725704e8.f9360c","bot":"","botProduction":"","x":110,"y":80,"wires":[["8c31a904.fa94a8"]]},{"id":"6f1a4a34.b55484","type":"debug","z":"725704e8.f9360c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":510,"y":80,"wires":[]},{"id":"eebda6eb.66ea38","type":"debug","z":"725704e8.f9360c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":710,"y":80,"wires":[]},{"id":"81848a05.31b5c8","type":"chatbot-telegram-send","z":"725704e8.f9360c","bot":"","botProduction":"","track":false,"passThrough":true,"outputs":1,"x":790,"y":340,"wires":[[]]},{"id":"7dd6d215.874d4c","type":"comment","z":"725704e8.f9360c","name":"Room Temp","info":"Recivece message from Telegram","x":330,"y":100,"wires":[]},{"id":"851293ce.fadcc","type":"comment","z":"725704e8.f9360c","name":"Stay alive check","info":"Recivece message from Telegram","x":100,"y":160,"wires":[]},{"id":"8d7a3a60.3a5358","type":"comment","z":"725704e8.f9360c","name":"Room Temp to Telegram","info":"Recivece message from Telegram and returne room temp","x":130,"y":40,"wires":[]}]

```

---

<div class="post-metadata">

### Author: ![vikozo](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vikozo](https://discourse.nodered.org/u/vikozo)
#### Post date: [2 March 2021 13:44 UTC](https://discourse.nodered.org/t/temp-to-telegram-channel/19983/2 "2021-03-02T13:44:53Z")

</div>

did you get a feedback or found a solution? i have the same Problem now. wish to send a message to telegram channel or telegram Bot --\> Channel  
have a nice day  
vinc

---

<div class="post-metadata">

### Author: ![ScheepersJohan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scheepersjohan/32/39556_2.png) [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)
#### Post date: [2 March 2021 14:23 UTC](https://discourse.nodered.org/t/temp-to-telegram-channel/19983/3 "2021-03-02T14:23:36Z")

</div>

I only use Bot and Groups now, I have not found the solution

---

<div class="post-metadata">

### Author: ![gleba](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gleba/32/50938_2.png) [@gleba](https://discourse.nodered.org/u/gleba)
#### Post date: [22 October 2022 01:50 UTC](https://discourse.nodered.org/t/temp-to-telegram-channel/19983/4 "2022-10-22T01:50:47Z")

</div>

why write return msg1 and not return msg?

---

<div class="post-metadata">

### Author: ![ScheepersJohan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scheepersjohan/32/39556_2.png) [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)
#### Post date: [22 October 2022 04:37 UTC](https://discourse.nodered.org/t/temp-to-telegram-channel/19983/5 "2022-10-22T04:37:54Z")

</div>

Node-Red is flexible, yes msg would have worked here, but you can also retune multiple msg (msg1, msg2, msg3....) and they all can be constructed differently.
