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

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

#include <ChatBoost.h>

Public Types

typedef std::shared_ptr< ChatBoostPtr
 

Public Attributes

std::string boostId
 Unique identifier of the boost.
 
std::uint32_t addDate
 Point in time (Unix timestamp) when the chat was boosted.
 
std::uint32_t expirationDate
 Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged.
 
ChatBoostSource::Ptr source
 Source of the added boost.
 

Detailed Description

This object contains information about a chat boost.

Definition at line 17 of file ChatBoost.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<ChatBoost> TgBot::ChatBoost::Ptr

Definition at line 20 of file ChatBoost.h.

Member Data Documentation

◆ addDate

std::uint32_t TgBot::ChatBoost::addDate

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

Definition at line 30 of file ChatBoost.h.

◆ boostId

std::string TgBot::ChatBoost::boostId

Unique identifier of the boost.

Definition at line 25 of file ChatBoost.h.

◆ expirationDate

std::uint32_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 35 of file ChatBoost.h.

◆ source

ChatBoostSource::Ptr TgBot::ChatBoost::source

Source of the added boost.

Definition at line 40 of file ChatBoost.h.


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