setNumUpvotes

fun setNumUpvotes(numUpvotes: Int)

Sets the number of upvotes of the post to the specified value.

Parameters

numUpvotes

Value to which the number of upvotes of the post is to be set.