tgbot-cpp
Loading...
Searching...
No Matches
MessageOriginHiddenUser.h
Go to the documentation of this file.
1#ifndef TGBOT_MESSAGEORIGINHIDDENUSER_H
2#define TGBOT_MESSAGEORIGINHIDDENUSER_H
3
5
6#include <memory>
7#include <string>
8
9namespace TgBot {
10
17
18public:
19 static const std::string TYPE;
20
21 typedef std::shared_ptr<MessageOriginHiddenUser> Ptr;
22
24 this->type = TYPE;
25 }
26
30 std::string senderUserName;
31};
32}
33
34#endif //TGBOT_MESSAGEORIGINHIDDENUSER_H
The message was originally sent by an unknown user.
std::shared_ptr< MessageOriginHiddenUser > Ptr
std::string senderUserName
Name of the user that sent the message originally.
This object describes the origin of a message.
std::string type
Type of the message origin.
Definition Api.h:40