|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
This object represents an inline keyboard button that copies specified text to the clipboard. https://core.telegram.org/bots/api#copytextbutton. More...
#include <CopyTextButton.hpp>
Public Member Functions | |
| CopyTextButton ()=default | |
| CopyTextButton (const nl::json &json) | |
| nl::json | toJson () const |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. | |
Public Attributes | |
| std::string | text |
| The text to be copied to the clipboard; 1-256 characters. | |
This object represents an inline keyboard button that copies specified text to the clipboard. https://core.telegram.org/bots/api#copytextbutton.
Definition at line 7 of file CopyTextButton.hpp.
|
default |
|
inlineexplicit |
Definition at line 9 of file CopyTextButton.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 25 of file CopyTextButton.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 19 of file CopyTextButton.hpp.
| std::string tgbotxx::CopyTextButton::text |
The text to be copied to the clipboard; 1-256 characters.
Definition at line 14 of file CopyTextButton.hpp.