Interface Message.Reaction

All Known Implementing Classes:
ReactionImpl
Enclosing interface:
Message

public static interface Message.Reaction
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The count of reactions.
    The emojis representing this reaction.
    boolean
    Whether the current logged in account added this reaction.
  • Method Details

    • count

      @Nonnegative @CheckReturnValue int count()
      The count of reactions.
      Returns:
      Integer representing how many reactions were added.
    • self

      @CheckReturnValue boolean self()
      Whether the current logged in account added this reaction.
      Returns:
      True if the current account added this reaction, false otherwise.
    • emoji

      @Nonnull @CheckReturnValue Emoji emoji()
      The emojis representing this reaction.
      Returns:
      Emoji object of this reaction.