editComment

abstract suspend fun editComment(commentId: Long, message: String)

Edits existent comment with new message for comment with commentId.

Parameters

commentId

Comment id.

message

The text of the comment.

Throws

Comment not found in the database.