Raw.KeyboardButtonCopy

Raw.KeyboardButtonCopy

Clipboard button: when clicked, the attached text must be copied to the clipboard.

keyboardButtonCopy#75d2698e text:string copy_text:string = KeyboardButton;
export namespace Raw {
  export class KeyboardButtonCopy {
    constructor(params: { text: string; copyText: string }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 198
Constructor ID: 0x75d2698e

Property

  • text : string

    Title of the button

  • copyText : string

    The text that will be copied to the clipboard