# Node red sending picture to telegram

**URL:** <https://discourse.nodered.org/t/node-red-sending-picture-to-telegram/39656>\
**Category:** General\
**Tags:** telegram\
**Created:** [24 January 2021 16:27 UTC](https://discourse.nodered.org/t/node-red-sending-picture-to-telegram/39656 "2021-01-24T16:27:24Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [25 January 2021 20:21 UTC](https://discourse.nodered.org/t/node-red-sending-picture-to-telegram/39656/6 "2021-01-25T20:21:27Z")

</div>

Firstly, in order to make code more readable and importable it is important to surround your code with three backticks  
`````  
`like this`  
`````

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)

As for sending image from Nas, you essentially replace the http request with whatever means you have of grabbing the image from the Nas. E.g. a `file in` node will read a file and return a buffer. Give it a go. Use a debug node to check the file in node reads a buffer of bytes.

---

_[View the full topic](https://discourse.nodered.org/t/node-red-sending-picture-to-telegram/39656)._
