The message Reaction instance class that defines Reaction attributes.

Constructors

  • Parameters

    • params: {
          count: number;
          isAddedBySelf: boolean;
          reaction: string;
          userList: string[];
      }
      • count: number
      • isAddedBySelf: boolean
      • reaction: string
      • userList: string[]

    Returns ChatMessageReaction

Properties

count: number

The count of the users who added this Reaction.

isAddedBySelf: boolean

Whether the current user added this Reaction.

  • true: Yes.
  • false: No.
reaction: string

The Reaction content.

userList: string[]

The list of users that added this Reaction.