Method MarkPostAsRead
| Improve this Doc View SourceMarkPostAsRead(MarkPostAsReadForm, CancellationToken)
Marks a post as read.
Declaration
public Task<PostResponse> MarkPostAsRead(MarkPostAsReadForm form, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| MarkPostAsReadForm | form | The form to send for marking a post as read. |
| CancellationToken | cancellationToken | Optional cancellation token to pass through to HttpClient |
Returns
| Type | Description |
|---|---|
| Task<PostResponse> | The task object representing the asynchronous operation. The task result contains the response after marking the post as read. |