RichTextButtonCopy

An inline keyboard button that, when pressed, copies the text inside its textToCopy field.

Properties

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

The style of the button.

type: "copy"
textToCopy: string