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

The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<ChatBoostSourceGiftCode>

Public Attributes

std::string source { SOURCE }
 Source of the boost, always “gift_code”
std::shared_ptr< Useruser { }
 User for which the gift code was created.

Static Public Attributes

static TGBOT_API const std::string SOURCE

Detailed Description

The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.

Definition at line 1773 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 1774 of file Types.h.

Member Data Documentation

◆ SOURCE

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

Definition at line 1776 of file Types.h.

◆ source

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

Source of the boost, always “gift_code”

Definition at line 1781 of file Types.h.

◆ user

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

User for which the gift code was created.

Definition at line 1786 of file Types.h.


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