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