summaryrefslogtreecommitdiff
path: root/include/tgbot/types/ReactionTypeCustomEmoji.h
blob: 4185c74a9e7ed3d0ff948c7e45353c16c065031b (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
33
34
#ifndef TGBOT_REACTIONTYPECUSTOMEMOJI_H
#define TGBOT_REACTIONTYPECUSTOMEMOJI_H

#include "tgbot/types/ReactionType.h"

#include <memory>
#include <string>

namespace TgBot {

/**
 * @brief The reaction is based on a custom emoji.
 *
 * @ingroup types
 */
class ReactionTypeCustomEmoji : public ReactionType {

public:
    static const std::string TYPE;

    typedef std::shared_ptr<ReactionTypeCustomEmoji> Ptr;

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

    /**
     * @brief Custom emoji identifier
     */
    std::string customEmojiId;
};
}

#endif //TGBOT_REACTIONTYPECUSTOMEMOJI_H