Method LikePost
| Improve this Doc View SourceLikePost(LikePostForm, CancellationToken)
Likes a post.
Declaration
public Task<PostResponse> LikePost(LikePostForm form, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
LikePostForm | form | The form to send for liking a post. |
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 liking the post. |