Inherits MessageContent.
A price for direct messages was changed in the channel chat.
Public Fields | |
bool | is_enabled_ |
True, if direct messages group was enabled for the channel; false otherwise. | |
int53 | paid_message_star_count_ |
The new number of Telegram Stars that must be paid by non-administrator users of the channel chat for each message sent to the direct messages group; 0 if the direct messages group was disabled or the messages are free. | |
Public Instance Methods | |
messageDirectMessagePriceChanged () | |
messageDirectMessagePriceChanged (bool is_enabled_, int53 paid_message_star_count_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 1320832439 |
Identifier uniquely determining a type of the object. | |
A price for direct messages was changed in the channel chat.
messageDirectMessagePriceChanged | ( | bool | is_enabled_, |
int53 | paid_message_star_count_ | ||
) |
A price for direct messages was changed in the channel chat.
[in] | is_enabled_ | True, if direct messages group was enabled for the channel; false otherwise. |
[in] | paid_message_star_count_ | The new number of Telegram Stars that must be paid by non-administrator users of the channel chat for each message sent to the direct messages group; 0 if the direct messages group was disabled or the messages are free. |
|
finalvirtual |