Interface InteractiveReplyButton

A single tappable reply button. title is the visible label (≤ 20 chars); id (≤ 256 chars) is your routing key.

On tap, the message.received webhook delivers the id at messages[].interactive.id (with messages[].type === "interactive" and interactive.type === "button_reply"). Route on that id, not on messages[].text — text is the visible title and changes with translation.

interface InteractiveReplyButton {
    id: string;
    title: string;
}

Properties

Properties

id: string
title: string