AbstractRichMessageButton
Properties
text
ts
text: RichText;Text of the button. May contain only plain text, RichTextCustomEmoji and RichTextDateTime entities.
style
ts
style?: "danger" | "success" | "primary" | "link";Style of the button. Must be one of “danger” (red), “success” (green), “primary” (blue) or “link” (the button is shown as a regular link without borders). If omitted, then an app-specific style is used. The style “link” is allowed only for callback buttons.