setUpvote

fun setUpvote(upvote: Boolean)

Sets the upvote status of the post to the specified boolean value.

Parameters

upvote

Boolean value to which the upvote status of the post is to be set.