TraktCommentsApi

class TraktCommentsApi(client: HttpClient)

Constructors

Link copied to clipboard
constructor(client: HttpClient)

Functions

Link copied to clipboard
suspend fun deleteComment(id: Int)
Link copied to clipboard
suspend fun getComment(id: Int): TraktComment
Link copied to clipboard

Returns the media item attached to a comment.

Link copied to clipboard
Link copied to clipboard
suspend fun getRecent(commentType: String? = null, type: TraktMediaType? = null, includeReplies: Boolean? = null, page: Int = 1, limit: Int = 10): List<TraktComment>
Link copied to clipboard
suspend fun getTrending(commentType: String? = null, type: TraktMediaType? = null, includeReplies: Boolean? = null, page: Int = 1, limit: Int = 10): List<TraktComment>
Link copied to clipboard
suspend fun getUpdates(commentType: String? = null, type: TraktMediaType? = null, includeReplies: Boolean? = null, page: Int = 1, limit: Int = 10): List<TraktComment>
Link copied to clipboard
suspend fun likeComment(id: Int): HttpResponse
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun unlikeComment(id: Int): HttpResponse
Link copied to clipboard
suspend fun updateComment(id: Int, comment: TraktPostComment): TraktComment