tgbotxx 1.1.9.2
Telegram Bot C++ Library
Loading...
Searching...
No Matches
tgbotxx::ChatBoostAdded Struct Reference

This object represents a service message about a user boosting a chat. https://core.telegram.org/bots/api#chatboostadded. More...

#include <ChatBoostAdded.hpp>

Public Member Functions

 ChatBoostAdded ()=default
 
 ChatBoostAdded (const nl::json &json)
 
nl::json toJson () const
 
void fromJson (const nl::json &json)
 

Public Attributes

std::int32_t boostCount {}
 Number of boosts added by the user.
 

Detailed Description

This object represents a service message about a user boosting a chat. https://core.telegram.org/bots/api#chatboostadded.

Definition at line 7 of file ChatBoostAdded.hpp.

Constructor & Destructor Documentation

◆ ChatBoostAdded() [1/2]

tgbotxx::ChatBoostAdded::ChatBoostAdded ( )
default

◆ ChatBoostAdded() [2/2]

tgbotxx::ChatBoostAdded::ChatBoostAdded ( const nl::json &  json)
inlineexplicit

Definition at line 9 of file ChatBoostAdded.hpp.

Member Function Documentation

◆ fromJson()

void tgbotxx::ChatBoostAdded::fromJson ( const nl::json &  json)
inline

Definition at line 22 of file ChatBoostAdded.hpp.

◆ toJson()

nl::json tgbotxx::ChatBoostAdded::toJson ( ) const
inline

Definition at line 16 of file ChatBoostAdded.hpp.

Member Data Documentation

◆ boostCount

std::int32_t tgbotxx::ChatBoostAdded::boostCount {}

Number of boosts added by the user.

Definition at line 14 of file ChatBoostAdded.hpp.


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