Update post
The forum.updatePost
method on a Client
instance makes a PATCH
request to the forums/posts/{post}
endpoint and returns a forum post.
Warning: This endpoint is not tested, you may or may not run into unexpected behavior.
Parameters
Parameter | Type | Optional | Description |
---|---|---|---|
post | number | ID of the post to update | |
options | UpdatePostOptions |
options.body
Parameter | Type | Optional | Description |
---|---|---|---|
body | string | Content of the post in BBCode format |
Returns
Promise<
ForumPost & {
body: ForumPostBody;
}
>;
Types
Possible Exceptions
See the error handling documentation for more information.
invalid_json_syntax
network_error
unexpected_response
Notice that something is missing? Found a typo? Think something's incomplete? Or think that something can be explained better? Feel free to open a pull request or submit an issue on the library's Github repository .