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

The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<ChatBoostSourcePremium>

Public Attributes

std::string source { SOURCE }
 Source of the boost, always “premium”
std::shared_ptr< Useruser { }
 User that boosted the chat.

Static Public Attributes

static TGBOT_API const std::string SOURCE

Detailed Description

The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user.

Definition at line 1841 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 1842 of file Types.h.

Member Data Documentation

◆ SOURCE

TGBOT_API const std::string TgBot::ChatBoostSourcePremium::SOURCE
static

Definition at line 1844 of file Types.h.

◆ source

std::string TgBot::ChatBoostSourcePremium::source { SOURCE }

Source of the boost, always “premium”

Definition at line 1849 of file Types.h.

◆ user

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

User that boosted the chat.

Definition at line 1854 of file Types.h.


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