code: public static void addSpoiler(Message message, String hint) {
          message.addExtension(new SpoilerElement(null, hint));
      }
docs: Add a SpoilerElement with a hint to a message.
  
  @param message Message to add the Spoiler to.
  @param hint Hint about the Spoilers content.