tgbot-cpp
Loading...
Searching...
No Matches
TgBot::ChatMemberBanned Class Reference

Represents a chat member that was banned in the chat and can't return to the chat or view chat messages. More...

#include <ChatMemberBanned.h>

Inheritance diagram for TgBot::ChatMemberBanned:
TgBot::ChatMember

Public Types

typedef std::shared_ptr< ChatMemberBannedPtr
 
- Public Types inherited from TgBot::ChatMember
typedef std::shared_ptr< ChatMemberPtr
 

Public Member Functions

 ChatMemberBanned ()
 
- Public Member Functions inherited from TgBot::ChatMember
 ChatMember ()
 
virtual ~ChatMember ()
 

Public Attributes

std::uint32_t untilDate
 Date when restrictions will be lifted for this user; Unix time.
 
- Public Attributes inherited from TgBot::ChatMember
std::string status
 The member's status in the chat.
 
User::Ptr user
 Information about the user.
 

Static Public Attributes

static const std::string STATUS
 

Detailed Description

Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.

Definition at line 16 of file ChatMemberBanned.h.

Member Typedef Documentation

◆ Ptr

Definition at line 20 of file ChatMemberBanned.h.

Constructor & Destructor Documentation

◆ ChatMemberBanned()

TgBot::ChatMemberBanned::ChatMemberBanned ( )
inline

Definition at line 22 of file ChatMemberBanned.h.

Member Data Documentation

◆ STATUS

const std::string TgBot::ChatMemberBanned::STATUS
static

Definition at line 18 of file ChatMemberBanned.h.

◆ untilDate

std::uint32_t TgBot::ChatMemberBanned::untilDate

Date when restrictions will be lifted for this user; Unix time.

If 0, then the user is banned forever

Definition at line 31 of file ChatMemberBanned.h.


The documentation for this class was generated from the following file: