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

This object contains information about a chat boost. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<ChatBoost>

Public Attributes

std::string boostId { }
 Unique identifier of the boost.
std::int32_t addDate { }
 Point in time (Unix timestamp) when the chat was boosted.
std::int32_t expirationDate { }
 Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged.
std::shared_ptr< ChatBoostSourcesource { }
 Source of the added boost.

Detailed Description

This object contains information about a chat boost.

Definition at line 1676 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 1677 of file Types.h.

Member Data Documentation

◆ addDate

std::int32_t TgBot::ChatBoost::addDate { }

Point in time (Unix timestamp) when the chat was boosted.

Definition at line 1687 of file Types.h.

◆ boostId

std::string TgBot::ChatBoost::boostId { }

Unique identifier of the boost.

Definition at line 1682 of file Types.h.

◆ expirationDate

std::int32_t TgBot::ChatBoost::expirationDate { }

Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged.

Definition at line 1693 of file Types.h.

◆ source

std::shared_ptr<ChatBoostSource> TgBot::ChatBoost::source { }

Source of the added boost.

Definition at line 1698 of file Types.h.


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