Interface InteractiveListMessage

Interactive message presenting a single-select list.

interface InteractiveListMessage {
    body: InteractiveBody;
    button: string;
    footer?: InteractiveFooter;
    header?: { text: string };
    sections: InteractiveListSection[];
    type: "list";
}

Properties

button: string

The CTA label that opens the picker (≤ 20 chars).

header?: { text: string }

Lists support a text-only header (≤ 60 chars).

1–10 sections, each with 1–10 rows.

type: "list"