Skip to content

How to make the bot send images? #61

Answered by tjtanjin
LinkTheCoder asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, I'm new to react-chatbotify!

I'm searching for a way to make the bot able to send an image as reply 😅

Hey @LinkTheCoder! For sending of images, you can consider using the render attribute as described here: https://react-chatbotify.tjtanjin.com/docs/api/attributes

An example of render component can also be found here (although the example shows a button instead): https://react-chatbotify.tjtanjin.com/docs/examples/render_component

Let me know if you need further clarifications! 😊

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tjtanjin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants