# Bot sending images

**URL:** <https://forums.rocket.chat/t/bot-sending-images/9244>\
**Category:** BOTs Special Interest Panel\
**Created:** [November 9, 2020, 12:41pm UTC](https://forums.rocket.chat/t/bot-sending-images/9244 "2020-11-09T12:41:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jana](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@Jana](https://forums.rocket.chat/u/Jana)\
**Post date:** [November 9, 2020, 12:41pm UTC](https://forums.rocket.chat/t/bot-sending-images/9244/1 "2020-11-09T12:41:50Z")

</div>

Hello! I have a question regarding bot sending customize messages to a LiveChat. Is there any possibility to send pictures to a chat? I’m currently trying like this:

const sentmsg = await driver.sendMessage({  
msg: `Hey ${ name }`,  
rid: ‘myRoomId’,  
attachments: [{  
“image\_url”: “[https://pixabay.com/de/photos/windmühle-ländlich-alte-windmühle-5713337.png](https://pixabay.com/de/photos/windm%C3%BChle-l%C3%A4ndlich-alte-windm%C3%BChle-5713337.png)”  
}]  
})

![bot](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/f/f108550a1a9d1a1f43d7e4d6aaeac7a855905df2.jpeg)

Best regards,

Jana

---

<div class="post-metadata">

**Author:** ![frank.dase](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/frank.dase/32/1866_2.png) [@frank.dase](https://forums.rocket.chat/u/frank.dase)\
**Post date:** [February 4, 2022, 7:09pm UTC](https://forums.rocket.chat/t/bot-sending-images/9244/2 "2022-02-04T19:09:48Z")

</div>

I know this is an old post, but meanwhile there are some options to show an image in a chat.

You can use the UIKit and use an IImageBlock or you add the image URL just to you text output.
