Inherits Update.
The revenue earned from sponsored messages in a chat has changed. If chat revenue screen is opened, then getChatRevenueTransactions may be called to fetch new transactions.
Public Fields | |
int53 | chat_id_ |
Identifier of the chat. | |
object_ptr< chatRevenueAmount > | revenue_amount_ |
New amount of earned revenue. | |
Public Instance Methods | |
updateChatRevenueAmount () | |
updateChatRevenueAmount (int53 chat_id_, object_ptr< chatRevenueAmount > &&revenue_amount_) | |
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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -959857468 |
Identifier uniquely determining a type of the object. | |
The revenue earned from sponsored messages in a chat has changed. If chat revenue screen is opened, then getChatRevenueTransactions may be called to fetch new transactions.
updateChatRevenueAmount | ( | int53 | chat_id_, |
object_ptr< chatRevenueAmount > && | revenue_amount_ | ||
) |
The revenue earned from sponsored messages in a chat has changed. If chat revenue screen is opened, then getChatRevenueTransactions may be called to fetch new transactions.
[in] | chat_id_ | Identifier of the chat. |
[in] | revenue_amount_ | New amount of earned revenue. |
|
finalvirtual |