tgbot-cpp
Loading...
Searching...
No Matches
InputMediaPhoto.h
Go to the documentation of this file.
1#ifndef TGBOT_INPUTMEDIAPHOTO_H
2#define TGBOT_INPUTMEDIAPHOTO_H
3
5
6#include <memory>
7
8namespace TgBot {
9
16public:
17 static const std::string TYPE;
18
19 typedef std::shared_ptr<InputMediaPhoto> Ptr;
20
22 this->type = TYPE;
23 }
24
29};
30}
31
32#endif //TGBOT_INPUTMEDIAPHOTO_H
This abstract class is base of all input media.
Definition InputMedia.h:19
std::string type
Type of the result.
Definition InputMedia.h:30
Represents a photo to be sent.
std::shared_ptr< InputMediaPhoto > Ptr
bool hasSpoiler
Optional. Pass True if the photo needs to be covered with a spoiler animation.
static const std::string TYPE
Definition Api.h:40