tgbot-cpp
Loading...
Searching...
No Matches
ChatMemberBanned.h
Go to the documentation of this file.
1#ifndef TGBOT_CHATMEMBERBANNED_H
2#define TGBOT_CHATMEMBERBANNED_H
3
5
6#include <cstdint>
7#include <memory>
8
9namespace TgBot {
10
17public:
18 static const std::string STATUS;
19
20 typedef std::shared_ptr<ChatMemberBanned> Ptr;
21
23 this->status = STATUS;
24 }
25
29 std::uint32_t untilDate;
30};
31}
32
33#endif //TGBOT_CHATMEMBERBANNED_H
Represents a chat member that was banned in the chat and can't return to the chat or view chat messag...
std::shared_ptr< ChatMemberBanned > Ptr
static const std::string STATUS
std::uint32_t untilDate
Date when restrictions will be lifted for this user; unix time.
This abstract class is base of all chat members.
Definition ChatMember.h:18
std::string status
The member's status in the chat.
Definition ChatMember.h:30
Definition Api.h:39