# MessageReactionOperationType

public enum MessageReactionOperationType

消息回应操作类型。

#### Since

5.42.0

## Entries

ADDED
Link copied to clipboard
ADDED
REMOVED
Link copied to clipboard
REMOVED
CLEARED
Link copied to clipboard
CLEARED

清空消息的全部回应。

## Properties

value
Link copied to clipboard
public final int value

## Functions

getValue
Link copied to clipboard
public int getValue()
valueOf
Link copied to clipboard
public static MessageReactionOperationType valueOf(int value)
通过原始值获取操作类型。
public static MessageReactionOperationType valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
public static Array<MessageReactionOperationType> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.