Banner in-app made of one or more slides.
One item in media.items is a single card; more than one is a carousel. A carousel still has type: "Message" — use media.items.length to tell them apart.
media.items
type: "Message"
media.items.length
{ "type": "Message", "style": { "position": "center", "backgroundColor": "#2d2020", "backgroundImage": null, "borderColor": "#1953c8", "shadow": true, "titleColor": "#901d1d", "bodyColor": "#901d1d" }, "expiration": { "date": "", "hours": "", "minutes": "" }, "media": { "position": "TOP", "items": [ { "image": "https://img.cdndsgni.com/preview/12138337.jpg", "imageType": "fill", "content": { "title": "Title 1", "body": "Message 1" }, "actions": { "backgroundClick": null, "buttons": [ { "text": "Open", "style": { "backgroundColor": "#3B82F6", "textColor": "#FFFFFF", "hoverColor": "#2563EB" }, "action": { "type": "deeplink", "url": "scla://run/eitri-doctor" } } ] } }, { "image": "https://img.cdndsgni.com/preview/12138337.jpg", "imageType": "fill", "content": { "title": "Title 2", "body": "Message 2" }, "actions": { "backgroundClick": null, "buttons": [ { "text": "Metadata", "style": { "backgroundColor": "#3B82F6", "textColor": "#FFFFFF", "hoverColor": "#2563EB" }, "action": { "type": "metadata", "metadata": { "chaveCustom 1": "valorFixoCustom" } } }, { "text": "Website", "style": { "backgroundColor": "#661976", "textColor": "#a91e1e", "hoverColor": "#e5e7eb" }, "action": { "type": "weblink", "url": "https://scolados.com.br", "target": "_blank" } } ] } } ] }, "notId": "bfecaee5992301e4c5ab59da"} Copy
{ "type": "Message", "style": { "position": "center", "backgroundColor": "#2d2020", "backgroundImage": null, "borderColor": "#1953c8", "shadow": true, "titleColor": "#901d1d", "bodyColor": "#901d1d" }, "expiration": { "date": "", "hours": "", "minutes": "" }, "media": { "position": "TOP", "items": [ { "image": "https://img.cdndsgni.com/preview/12138337.jpg", "imageType": "fill", "content": { "title": "Title 1", "body": "Message 1" }, "actions": { "backgroundClick": null, "buttons": [ { "text": "Open", "style": { "backgroundColor": "#3B82F6", "textColor": "#FFFFFF", "hoverColor": "#2563EB" }, "action": { "type": "deeplink", "url": "scla://run/eitri-doctor" } } ] } }, { "image": "https://img.cdndsgni.com/preview/12138337.jpg", "imageType": "fill", "content": { "title": "Title 2", "body": "Message 2" }, "actions": { "backgroundClick": null, "buttons": [ { "text": "Metadata", "style": { "backgroundColor": "#3B82F6", "textColor": "#FFFFFF", "hoverColor": "#2563EB" }, "action": { "type": "metadata", "metadata": { "chaveCustom 1": "valorFixoCustom" } } }, { "text": "Website", "style": { "backgroundColor": "#661976", "textColor": "#a91e1e", "hoverColor": "#e5e7eb" }, "action": { "type": "weblink", "url": "https://scolados.com.br", "target": "_blank" } } ] } } ] }, "notId": "bfecaee5992301e4c5ab59da"}
Expiration of the in-app.
Slides, in display order.
Position of the media relative to the text. Observed value: "TOP".
"TOP"
Identifier of this delivery in Inngage.
Style of the in-app container.
Banner in-app made of one or more slides.
One item in
media.itemsis a single card; more than one is a carousel. A carousel still hastype: "Message"— usemedia.items.lengthto tell them apart.Example