RichTextButtonCallback

An inline keyboard button that, when pressed, sends back the specified callback data.

Properties

style?: "danger" | "success" | "primary" | "link"

The style of the button.

type: "callbackData"
callbackData: string

The callback data to send back.