tgbot-cpp
Loading...
Searching...
No Matches
ChatBoostRemoved.h
Go to the documentation of this file.
1#ifndef TGBOT_CHATBOOSTREMOVED_H
2#define TGBOT_CHATBOOSTREMOVED_H
3
4#include "tgbot/types/Chat.h"
6
7#include <cstdint>
8#include <memory>
9#include <string>
10
11namespace TgBot {
12
19
20public:
21 typedef std::shared_ptr<ChatBoostRemoved> Ptr;
22
27
31 std::string boostId;
32
36 std::uint32_t removeDate;
37
42};
43}
44
45#endif //TGBOT_CHATBOOSTREMOVED_H
This object represents a boost removed from a chat.
Chat::Ptr chat
Chat which was boosted.
std::shared_ptr< ChatBoostRemoved > Ptr
std::string boostId
Unique identifier of the boost.
std::uint32_t removeDate
Point in time (Unix timestamp) when the boost was removed.
ChatBoostSource::Ptr source
Source of the removed boost.
std::shared_ptr< ChatBoostSource > Ptr
std::shared_ptr< Chat > Ptr
Definition Chat.h:31
Definition Api.h:40