+ * Returns all replies from the plugin. The plugin sends replies as normal
+ * message fields prefixed by “Replies.”. The keys of the returned map do
+ * not contain this prefix!
+ *
+ * @return All replies from the plugin
+ */
+ public Map<String, String> getReplies() {
+ Map<String, String> fields = getFields();
+ Map<String, String> replies = new HashMap<String, String>();
+ for (Entry<String, String> field : fields.entrySet()) {
+ if (field.getKey().startsWith("Replies.")) {
+ replies.put(field.getKey().substring(8), field.getValue());
+ }
+ }
+ return replies;
+ }
+
+ /**