tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::messageDirectMessagePriceChanged Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::messageDirectMessagePriceChanged:
td::td_api::MessageContent td::td_api::Object td::TlObject

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

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.
 

Detailed Description

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

Definition at line 42607 of file td_api.h.

Constructor & Destructor Documentation

◆ messageDirectMessagePriceChanged() [1/2]

td::td_api::messageDirectMessagePriceChanged::messageDirectMessagePriceChanged ( )

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

◆ messageDirectMessagePriceChanged() [2/2]

td::td_api::messageDirectMessagePriceChanged::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 td::td_api::messageDirectMessagePriceChanged::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 td::TlObject.

Member Data Documentation

◆ ID

const std::int32_t td::td_api::messageDirectMessagePriceChanged::ID = 1320832439
static

Identifier uniquely determining a type of the object.

Definition at line 42636 of file td_api.h.

◆ is_enabled_

bool td::td_api::messageDirectMessagePriceChanged::is_enabled_

True, if direct messages group was enabled for the channel; false otherwise.

Definition at line 42618 of file td_api.h.

◆ paid_message_star_count_

int53 td::td_api::messageDirectMessagePriceChanged::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.

Definition at line 42620 of file td_api.h.


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