class
Hamilton::Types::CopyTextButton
- Hamilton::Types::CopyTextButton
- Reference
- Object
Overview
This object represents an inline keyboard button that copies specified text to the clipboard.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/copy_text_button.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#text : String
The text to be copied to the clipboard; 1-256 characters.
-
#text=(text : String)
The text to be copied to the clipboard; 1-256 characters.