Inherits Function.
Changes whether the paid message reaction of the user to a message is anonymous. The message must have paid reaction added by the user.
Returns object_ptr<Ok>.
Public Fields | |
int53 | chat_id_ |
Identifier of the chat to which the message belongs. | |
int53 | message_id_ |
Identifier of the message. | |
bool | is_anonymous_ |
Pass true to make paid reaction of the user on the message anonymous; pass false to make the user's profile visible among top reactors. | |
Public Types | |
using | ReturnType = object_ptr< ok > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
togglePaidMessageReactionIsAnonymous () | |
togglePaidMessageReactionIsAnonymous (int53 chat_id_, int53 message_id_, bool is_anonymous_) | |
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 = -1753949423 |
Identifier uniquely determining a type of the object. | |
Default constructor for a function, which changes whether the paid message reaction of the user to a message is anonymous. The message must have paid reaction added by the user.
Returns object_ptr<Ok>.
togglePaidMessageReactionIsAnonymous | ( | int53 | chat_id_, |
int53 | message_id_, | ||
bool | is_anonymous_ | ||
) |
Creates a function, which changes whether the paid message reaction of the user to a message is anonymous. The message must have paid reaction added by the user.
Returns object_ptr<Ok>.
[in] | chat_id_ | Identifier of the chat to which the message belongs. |
[in] | message_id_ | Identifier of the message. |
[in] | is_anonymous_ | Pass true to make paid reaction of the user on the message anonymous; pass false to make the user's profile visible among top reactors. |
|
finalvirtual |