summaryrefslogtreecommitdiff
path: root/include/tgbot/types/InputMessageContent.h
blob: 01bcf7746d19ae42a971614516c696e6b6dc537d (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
#ifndef TGBOT_INPUTMESSAGECONTENT_H
#define TGBOT_INPUTMESSAGECONTENT_H

#include <memory>
#include <string>

namespace TgBot {

/**
 * @brief This abstract class is base of all message contents.
 * 
 * This object represents the content of a message to be sent as a result of an inline query.
 * 
 * @ingroup types
 */
class InputMessageContent {
public:
    typedef std::shared_ptr<InputMessageContent> Ptr;

    InputMessageContent() {}

    virtual ~InputMessageContent() {}

    /**
     * @brief Type of the content
     */
    std::string type;
};
}

#endif //TGBOT_INPUTMESSAGECONTENT_H