Method DeletePrivateMessage
| Improve this Doc View SourceDeletePrivateMessage(DeletePrivateMessageForm, CancellationToken)
Deletes a private message.
Declaration
public Task<PrivateMessageResponse> DeletePrivateMessage(DeletePrivateMessageForm form, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeletePrivateMessageForm | form | The form to send for deleting a private message. |
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 deleting the private message. |