Method CreatePrivateMessage
| Improve this Doc View SourceCreatePrivateMessage(CreatePrivateMessageForm, CancellationToken)
Creates a new private message.
Declaration
Task<PrivateMessageResponse> CreatePrivateMessage(CreatePrivateMessageForm form, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CreatePrivateMessageForm | form | The form to send for creating 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 creating a private message. |