|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Describes a service message about a change in the price of direct messages sent to a channel chat. https://core.telegram.org/bots/api#directmessagepricechanged. More...
#include <DirectMessagePriceChanged.hpp>
Public Member Functions | |
| DirectMessagePriceChanged ()=default | |
| DirectMessagePriceChanged (const nl::json &json) | |
| nl::json | toJson () const |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. | |
Public Attributes | |
| bool | areDirectMessagesEnabled {} |
| True, if direct messages are enabled for the channel chat; false otherwise. | |
| std::int64_t | directMessageStarCount {} |
| Optional. The new number of Telegram Stars that must be paid by users for each direct message. | |
Describes a service message about a change in the price of direct messages sent to a channel chat. https://core.telegram.org/bots/api#directmessagepricechanged.
Definition at line 7 of file DirectMessagePriceChanged.hpp.
|
default |
|
inlineexplicit |
Definition at line 9 of file DirectMessagePriceChanged.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 28 of file DirectMessagePriceChanged.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 21 of file DirectMessagePriceChanged.hpp.
| bool tgbotxx::DirectMessagePriceChanged::areDirectMessagesEnabled {} |
True, if direct messages are enabled for the channel chat; false otherwise.
Definition at line 14 of file DirectMessagePriceChanged.hpp.
| std::int64_t tgbotxx::DirectMessagePriceChanged::directMessageStarCount {} |
Optional. The new number of Telegram Stars that must be paid by users for each direct message.
Definition at line 17 of file DirectMessagePriceChanged.hpp.