class

Tourmaline::CopyTextButton

Inherits JSON::Serializable < Reference < Object

This object represents an inline keyboard button that copies specified text to the clipboard.

Constructors

new(text : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

text

The text to be copied to the clipboard; 1-256 characters

Source
text=(text : String)

The text to be copied to the clipboard; 1-256 characters

Source