Class MessageReactionsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Message addMyReaction(Message $self, Reaction reaction, Boolean enforceUnique) Add a Reaction created by the currently logged user to the given Message.
      final static Message removeMyReaction(Message $self, Reaction reaction) Remove a Reaction created by the currently logged user from the given Message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • addMyReaction

         final static Message addMyReaction(Message $self, Reaction reaction, Boolean enforceUnique)

        Add a Reaction created by the currently logged user to the given Message.

        Parameters:
        reaction - The reaction to add.
        enforceUnique - If true, the reaction will be added only if the user hasn't already added a reaction of the same type.
      • removeMyReaction

         final static Message removeMyReaction(Message $self, Reaction reaction)

        Remove a Reaction created by the currently logged user from the given Message.

        Parameters:
        reaction - The reaction to remove.