Methods
++ (async) delete(id) → {Boolean} +
+ + + +[Require Login] Delete a thread
+
+ Parameters:
+ +Name | + +Type | + +Description | +
---|---|---|
id |
+
+ + Number + | + +The AniList thread ID to delete | +
Returns:
+ +Returns true if successful
+
+ -
+
- Type +
- + Boolean + +
get(id) → {ThreadEntry}
@@ -258,6 +332,102 @@ Returns:
ThreadEntry
+
+
+ getComments(id, page, perPage)
+ → {Array.<ThreadComment>}
+
+
+
+
+ Get thread comments for a thread
+
+ Parameters:
+
+
Name | + +Type | + +Default | + +Description | +
---|---|---|---|
id |
+
+ + Number + | + ++ + | The AniList thread ID | +
page |
+
+ + Number + | + +
+ 1
+ |
+
+ The page number | +
perPage |
+
+ + Number + | + +
+ 25
+ |
+
+ How many entries per page | +
Returns:
+ +-
+
- Type +
- + Array.<ThreadComment> + +