Temp to Telegram Channel

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

[{"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":[]}]

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

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

why write return msg1 and not return msg?

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.