ReactionOperation constructor

const ReactionOperation(
  1. String userId,
  2. String reaction,
  3. ReactionOperate operate
)

~english Reaction operation.

Param userId The user ID of the operator.

Param reaction Changed Reaction.

Param operate The Reaction operation type. ~end

~chinese Reaction 操作。

Param userId 操作者的用户 ID。

Param reaction 发生变化的 Reaction。

Param operate 具体 Reaction 操作类型。 ~end

Implementation

const ReactionOperation(
  this.userId,
  this.reaction,
  this.operate,
);