Function: replyToPost()
function replyToPost(
context,
siteUrl,
postId,
input
): Promise<{
changed: string;
discussionId: number | undefined;
postId: number | undefined;
subscribed?: boolean;
}>;
Defined in: areas/forums/posts.ts:170
Replies to a post; returns the new post's id and its discussion's, and, when subscribe is given,
the person's subscription to the discussion afterwards, read back (subscribed).
Parameters
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
postId | number |
input | PostInput & object |
Returns
Promise<{
changed: string;
discussionId: number | undefined;
postId: number | undefined;
subscribed?: boolean;
}>