Documentation - v0.32.0
    Preparing search index...

    Interface CopyButton

    A button copying text to the user's clipboard

    interface CopyButton {
        copyText?: string;
        style?: BotKeyboardButtonStyle;
        text: string;
        type: "copy";
    }

    Hierarchy

    • BotKeyboardButtonBase
      • CopyButton
    Index

    Properties

    copyText?: string

    Text to be copied (defaults to the button text)

    Style of the button

    text: string

    Text of the button

    type: "copy"