Describes a service message about a change in the price of direct messages sent to a channel chat.
More...
#include <Types.h>
|
| bool | areDirectMessagesEnabled { } |
| | True, if direct messages are enabled for the channel chat; False otherwise.
|
| std::optional< std::int32_t > | directMessageStarCount { } |
| | Optional. The new number of Telegram Stars that must be paid by users for each direct message sent to the channel. Does not apply to users who have been exempted by administrators. Defaults to 0.
|
Describes a service message about a change in the price of direct messages sent to a channel chat.
Definition at line 3284 of file Types.h.
◆ Ptr
◆ areDirectMessagesEnabled
| bool TgBot::DirectMessagePriceChanged::areDirectMessagesEnabled { } |
True, if direct messages are enabled for the channel chat; False otherwise.
Definition at line 3290 of file Types.h.
◆ directMessageStarCount
| std::optional<std::int32_t> TgBot::DirectMessagePriceChanged::directMessageStarCount { } |
Optional. The new number of Telegram Stars that must be paid by users for each direct message sent to the channel. Does not apply to users who have been exempted by administrators. Defaults to 0.
Definition at line 3297 of file Types.h.
The documentation for this struct was generated from the following file: