List of all members | Public Fields | Public Instance Methods | Static Public Attributes
messageDirectMessagePriceChanged Class Referencefinal

Inherits MessageContent.

Description

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
 
- Public Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ messageDirectMessagePriceChanged() [1/2]

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.

Method 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: