blob: e531b58a792a430ce550441a3185646530c81c13 (
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
35
36
37
38
39
40
41
42
|
#ifndef TGBOT_CHATBOOSTSOURCE_H
#define TGBOT_CHATBOOSTSOURCE_H
#include "tgbot/types/User.h"
#include <memory>
#include <string>
namespace TgBot {
/**
* @brief This object describes the source of a chat boost.
*
* It can be one of
* - ChatBoostSourcePremium
* - ChatBoostSourceGiftCode
* - ChatBoostSourceGiveaway
*
* @ingroup types
*/
class ChatBoostSource {
public:
typedef std::shared_ptr<ChatBoostSource> Ptr;
ChatBoostSource() {}
virtual ~ChatBoostSource() {}
/**
* @brief Source of the boost
*/
std::string source;
/**
* @brief User
*/
User::Ptr user;
};
}
#endif //TGBOT_CHATBOOSTSOURCE_H
|