IPublicCommentAPI

interface IPublicCommentAPI

Public API for getting comments information

Functions

Link copied to clipboard
abstract suspend fun getCommentVotes(commentID: Long): Map<String, Liker>

Get a list of people who liked the comment

Link copied to clipboard
abstract suspend fun getEntryComments(entryID: Long, sorting: SortingType): List<Comment>

Get comments to an entry

Link copied to clipboard
abstract suspend fun getLevelComments(entryID: Long, sorting: SortingType): CommentsLevelLimited

Get comments of the record with thread level restriction

Link copied to clipboard
abstract suspend fun getThreadComments(entryID: Long, commentID: Long): List<Comment>

Get comments of the record with thread restriction

Inheritors

Link copied to clipboard