code: public static void addSpoiler(Message message, String lang, String hint) {
          message.addExtension(new SpoilerElement(lang, hint));
      }
docs: Add a SpoilerElement with a hint in a certain language to a message.
  
  @param message Message to add the Spoiler to.
  @param lang language of the Spoiler hint.
  @param hint hint.