blob: 4f94e72d059adef0322142d803f067e14dd9d301 (
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_MESSAGEORIGINUSER_H
#define TGBOT_MESSAGEORIGINUSER_H
#include "tgbot/types/MessageOrigin.h"
#include "tgbot/types/User.h"
#include <memory>
namespace TgBot {
/**
* @brief The message was originally sent by a known user.
*
* @ingroup types
*/
class MessageOriginUser : public MessageOrigin {
public:
static const std::string TYPE;
typedef std::shared_ptr<MessageOriginUser> Ptr;
MessageOriginUser() {
this->type = TYPE;
}
/**
* @brief User that sent the message originally
*/
User::Ptr senderUser;
};
}
#endif //TGBOT_MESSAGEORIGINUSER_H
|