Interface InteractiveMediaHeader

Media header for a button message. Set the key matching type with a public link — Meta fetches it. (Lists take a text-only header instead.)

interface InteractiveMediaHeader {
    document?: { filename?: string; link: string };
    image?: { link: string };
    type: "document" | "image" | "video";
    video?: { link: string };
}

Properties

document?: { filename?: string; link: string }
image?: { link: string }
type: "document" | "image" | "video"
video?: { link: string }