One slide of a "Message" in-app.

interface InngageInAppMediaItem {
    actions: {
        backgroundClick: null | InngageInAppAction;
        buttons: InngageInAppButton[];
    };
    content: InngageInAppContent;
    image: string;
    imageType: string;
}

Properties

actions: {
    backgroundClick: null | InngageInAppAction;
    buttons: InngageInAppButton[];
}

Type declaration

  • backgroundClick: null | InngageInAppAction

    Action for a tap on the slide background, or null when the background is not clickable.

  • buttons: InngageInAppButton[]

    Buttons of this slide. Empty array when none were configured.

Title and body of this slide.

image: string

Image URL.

imageType: string

How the image fills its area. Observed value: "fill".