Layer 224
constructor
keyboardButtonCopy#75d2698e text:string copy_text:string = KeyboardButton;

Parameters

Name Type Description
Text string Title of the button
CopyText string The text that will be copied to the clipboard

Returns

KeyboardButton

Gogram Example

// Creating KeyboardButtonCopy constructor
obj := &tg.KeyboardButtonCopy{
    Text: "Hello, World!",
    CopyText: "Hello, World!",
}