@botmesh/core - v2.0.0-alpha.2
    Preparing search index...

    Interface PressedButton

    What TestChat.pressButton pressed.

    interface PressedButton {
        id: string;
        title: string;
        index: number;
        kind: "list" | "button";
    }
    Index
    id: string

    Button / row id (what the bot receives as ctx.body and ctx.interaction.data).

    title: string
    index: number

    1-based position among the message's choices.

    kind: "list" | "button"

    Interaction kind emitted: 'list' for a list row, 'button' otherwise.