public static class TdApi.TogglePaidMessageReactionIsAnonymous extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat to which the message belongs.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isAnonymous
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.
|
long |
messageId
Identifier of the message.
|
| Constructor and Description |
|---|
TogglePaidMessageReactionIsAnonymous()
Default constructor for a function, which changes whether the paid message reaction of the user to a message is anonymous.
|
TogglePaidMessageReactionIsAnonymous(long chatId,
long messageId,
boolean isAnonymous)
Creates a function, which changes whether the paid message reaction of the user to a message is anonymous.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageId
public boolean isAnonymous
public static final int CONSTRUCTOR
public TogglePaidMessageReactionIsAnonymous()
Returns Ok
public TogglePaidMessageReactionIsAnonymous(long chatId,
long messageId,
boolean isAnonymous)
Returns Ok
chatId - Identifier of the chat to which the message belongs.messageId - Identifier of the message.isAnonymous - 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 int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object