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

Represents a chat member that owns the chat and has all administrator privileges. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<ChatMemberOwner>

Public Attributes

std::string status { STATUS }
 The member's status in the chat, always “creator”
std::shared_ptr< Useruser { }
 Information about the user.
bool isAnonymous { }
 True, if the user's presence in the chat is hidden.
std::optional< std::string > customTitle { }
 Optional. Custom title for this user.

Static Public Attributes

static TGBOT_API const std::string STATUS

Detailed Description

Represents a chat member that owns the chat and has all administrator privileges.

Definition at line 2571 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::ChatMemberOwner::Ptr = std::shared_ptr<ChatMemberOwner>

Definition at line 2572 of file Types.h.

Member Data Documentation

◆ customTitle

std::optional<std::string> TgBot::ChatMemberOwner::customTitle { }

Optional. Custom title for this user.

Definition at line 2594 of file Types.h.

◆ isAnonymous

bool TgBot::ChatMemberOwner::isAnonymous { }

True, if the user's presence in the chat is hidden.

Definition at line 2589 of file Types.h.

◆ STATUS

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

Definition at line 2574 of file Types.h.

◆ status

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

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

Definition at line 2579 of file Types.h.

◆ user

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

Information about the user.

Definition at line 2584 of file Types.h.


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