TDLib
Loading...
Searching...
No Matches
messageDirectMessagePriceChanged Class Referencefinal

Inherits MessageContent.

Description

A price for direct messages was changed in the channel chat.

Public Member Functions

 messageDirectMessagePriceChanged ()
 messageDirectMessagePriceChanged (bool is_enabled_, int53 paid_message_star_count_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

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.

Static Public Attributes

static const std::int32_t ID = 1320832439
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ messageDirectMessagePriceChanged() [1/2]

messageDirectMessagePriceChanged ( )

A price for direct messages was changed in the channel chat.

◆ messageDirectMessagePriceChanged() [2/2]

messageDirectMessagePriceChanged ( bool is_enabled_,
int53 paid_message_star_count_ )

A price for direct messages was changed in the channel chat.

Parameters
[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.

Member Function Documentation

◆ store()

void store ( TlStorerToString & s,
const char * field_name ) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


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