Image

An image component is used to display an image inside a messenger card.

🚧 HTTPS Images

If your request URLs (or website URLs) are over HTTPS, you will need to ensure that images are loaded over HTTPS likewise. Otherwise, they will not work.

{  type: "image",   url:  "https://somesite.com/images640_480.png",  width:  640,  height: 480}
ParameterPossible ValuesRequiredFunction
idAny stringNoUnique identifier for the component within this card.
urlA valid URLYesThe URL where the image is located.
alignleft (default)centerrightNoAligns the image inside the component.
widthAny numberYesWidth of the image in pixels.
heightAny numberYesHeight of the image in pixels.
roundedtruefalse (default)NoRounds the corners of the image if true.

Card View

Frame View