Click or drag to resize

PostModerateAsync(ModerationAction, String, CancellationToken) Method

This is preliminary documentation and is subject to change.

Moderates the post with the specified action.

Namespace: WikiClientLibrary.Flow
Assembly: WikiClientLibrary.Flow (in WikiClientLibrary.Flow.dll) Version: 0.9.0-int.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntax
public Task ModerateAsync(
	ModerationAction action,
	string reason,
	CancellationToken cancellationToken
)

Parameters

action  ModerationAction
The action to perform. You need to have sufficient permission for it.
reason  String
The reason for moderation.
cancellationToken  CancellationToken
A token used to cancel the operation.

Return Value

Task
Remarks
This method will not update LastRevision content, you need to call RefreshAsync if you need the latest revision information.
See Also