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
4
#include "
tgbot/types/ChatMember.h
"
5
6
#include <cstdint>
7
#include <memory>
8
9
namespace
TgBot
{
10
16
class
ChatMemberBanned
:
public
ChatMember
{
17
public
:
18
static
const
std::string
STATUS
;
19
20
typedef
std::shared_ptr<ChatMemberBanned>
Ptr
;
21
22
ChatMemberBanned
() {
23
this->
status
=
STATUS
;
24
}
25
31
std::uint32_t
untilDate
;
32
};
33
}
34
35
#endif
//TGBOT_CHATMEMBERBANNED_H
ChatMember.h
TgBot::ChatMemberBanned::ChatMemberBanned
ChatMemberBanned()
Definition
ChatMemberBanned.h:22
TgBot::ChatMemberBanned::Ptr
std::shared_ptr< ChatMemberBanned > Ptr
Definition
ChatMemberBanned.h:20
TgBot::ChatMemberBanned::STATUS
static const std::string STATUS
Definition
ChatMemberBanned.h:18
TgBot::ChatMemberBanned::untilDate
std::uint32_t untilDate
Date when restrictions will be lifted for this user; Unix time.
Definition
ChatMemberBanned.h:31
TgBot::ChatMember::ChatMember
ChatMember()
Definition
ChatMember.h:23
TgBot::ChatMember::status
std::string status
The member's status in the chat.
Definition
ChatMember.h:30
TgBot
Definition
Api.h:40
include
tgbot
types
ChatMemberBanned.h
Generated on
for tgbot-cpp by
1.14.0