tgbot-cpp
Loading...
Searching...
No Matches
InaccessibleMessage.h
Go to the documentation of this file.
1#ifndef TGBOT_INACCESSIBLEMESSAGE_H
2#define TGBOT_INACCESSIBLEMESSAGE_H
3
4#include "tgbot/types/Chat.h"
5
6#include <cstdint>
7#include <memory>
8
9namespace TgBot {
10
17
18public:
19 typedef std::shared_ptr<InaccessibleMessage> Ptr;
20
25
29 std::int32_t messageId;
30
36 std::uint8_t date;
37};
38}
39
40#endif //TGBOT_INACCESSIBLEMESSAGE_H
std::shared_ptr< Chat > Ptr
Definition Chat.h:31
This object describes a message that was deleted or is otherwise inaccessible to the bot.
std::shared_ptr< InaccessibleMessage > Ptr
Chat::Ptr chat
Chat the message belonged to.
std::int32_t messageId
Unique message identifier inside the chat.
Definition Api.h:40