### One image ```jsx const attachments = [ { url: util.gifObjectUrl, contentType: 'image/gif', width: 320, height: 240, }, ];

; ``` ### One image, various aspect ratios ```jsx







``` ### Two images ```jsx const attachments = [ { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, ];

; ``` ### Three images ```jsx const attachments = [ { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, ];

; ``` ### Four images ```jsx const attachments = [ { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, ];

; ``` ### Five images ```jsx const attachments = [ { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, ];

; ``` ### Six images ``` const attachments = [ { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, ];

; ``` ### Mixing attachment types ``` const attachments = [ { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, { contentType: 'text/plain', }, { url: util.pngObjectUrl, contentType: 'image/png', width: 320, height: 240, }, ];

; ``` ### Sticker ``` const attachments = [ { url: util.squareStickerObjectUrl, contentType: 'image/webp', width: 512, height: 512, }, ];

; ```