Method GetPrivateMessages
| Improve this Doc View SourceGetPrivateMessages(GetPrivateMessagesForm, CancellationToken)
Gets private messages.
Declaration
Task<PrivateMessagesResponse> GetPrivateMessages(GetPrivateMessagesForm form, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetPrivateMessagesForm | form | The form to send for retrieving private messages. |
CancellationToken | cancellationToken | Optional cancellation token to pass through to HttpClient |
Returns
Type | Description |
---|---|
Task<PrivateMessagesResponse> | The task object representing the asynchronous operation. The task result contains the response with the retrieved private messages. |