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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<ChatMemberBanned>

Public Attributes

std::string status { STATUS }
 The member's status in the chat, always “kicked”
std::shared_ptr< Useruser { }
 Information about the user.
std::int32_t untilDate { }
 Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever.

Static Public Attributes

static TGBOT_API 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 2485 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 2486 of file Types.h.

Member Data Documentation

◆ STATUS

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

Definition at line 2488 of file Types.h.

◆ status

std::string TgBot::ChatMemberBanned::status { STATUS }

The member's status in the chat, always “kicked”

Definition at line 2493 of file Types.h.

◆ untilDate

std::int32_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 2504 of file Types.h.

◆ user

std::shared_ptr<User> TgBot::ChatMemberBanned::user { }

Information about the user.

Definition at line 2498 of file Types.h.


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