summaryrefslogtreecommitdiff
path: root/include/tgbot/types/InputMediaPhoto.h
blob: 5897beb8117a680614a881a9e9c6ea71171e6881 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef TGBOT_INPUTMEDIAPHOTO_H
#define TGBOT_INPUTMEDIAPHOTO_H

#include "tgbot/types/InputMedia.h"

#include <memory>

namespace TgBot {

/**
 * @brief Represents a photo to be sent.
 * 
 * @ingroup types
 */
class InputMediaPhoto : public InputMedia {
public:
    static const std::string TYPE;

    typedef std::shared_ptr<InputMediaPhoto> Ptr;

    InputMediaPhoto() {
        this->type = TYPE;
    }

    /**
     * @brief Optional. Pass True if the photo needs to be covered with a spoiler animation
     */
    bool hasSpoiler;
};
}

#endif //TGBOT_INPUTMEDIAPHOTO_H