|
tgbotxx 1.2.9.2
Telegram Bot C++ Library
|
Base class for profile photos to set https://core.telegram.org/bots/api#inputprofilephoto. More...
#include <InputProfilePhoto.hpp>
Public Member Functions | |
| InputProfilePhoto ()=default | |
| InputProfilePhoto (const nl::json &json) | |
| virtual | ~InputProfilePhoto ()=default |
| virtual nl::json | toJson () const |
| virtual void | fromJson (const nl::json &json) |
Public Attributes | |
| std::string | type |
| Type of the profile photo. | |
Base class for profile photos to set https://core.telegram.org/bots/api#inputprofilephoto.
Definition at line 8 of file InputProfilePhoto.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file InputProfilePhoto.hpp.
|
virtualdefault |
Reimplemented in tgbotxx::InputProfilePhotoStatic, and tgbotxx::InputProfilePhotoAnimated.
Definition at line 24 of file InputProfilePhoto.hpp.
|
inlinevirtual |
Reimplemented in tgbotxx::InputProfilePhotoStatic, and tgbotxx::InputProfilePhotoAnimated.
Definition at line 18 of file InputProfilePhoto.hpp.
| std::string tgbotxx::InputProfilePhoto::type |
Type of the profile photo.
Definition at line 16 of file InputProfilePhoto.hpp.