class Tourmaline::CopyTextButton

Overview

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

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(text : String) #

[View source]

Instance Method Detail

def text : String #

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


[View source]
def text=(text : String) #

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


[View source]