tgbot-cpp
Loading...
Searching...
No Matches
MessageOriginChat.h
Go to the documentation of this file.
1#ifndef TGBOT_MESSAGEORIGINCHAT_H
2#define TGBOT_MESSAGEORIGINCHAT_H
3
5#include "tgbot/types/Chat.h"
6
7#include <memory>
8#include <string>
9
10namespace TgBot {
11
18
19public:
20 static const std::string TYPE;
21
22 typedef std::shared_ptr<MessageOriginChat> Ptr;
23
25 this->type = TYPE;
26 }
27
32
36 std::string authorSignature;
37};
38}
39
40#endif //TGBOT_MESSAGEORIGINCHAT_H
std::shared_ptr< Chat > Ptr
Definition Chat.h:31
The message was originally sent on behalf of a chat to a group chat.
std::string authorSignature
Optional. For messages originally sent by an anonymous chat administrator, original message author si...
static const std::string TYPE
Chat::Ptr senderChat
Chat that sent the message originally.
std::shared_ptr< MessageOriginChat > Ptr
This object describes the origin of a message.
std::string type
Type of the message origin.
Definition Api.h:40