Fanbox

class Fanbox(ioDispatcher: CoroutineDispatcher = Dispatchers.IO)

Constructors

Link copied to clipboard
constructor(ioDispatcher: CoroutineDispatcher = Dispatchers.IO)

Properties

Link copied to clipboard
val cookies: Flow<List<Cookie>>
Link copied to clipboard
val csrfToken: Flow<String?>

Functions

Link copied to clipboard
suspend fun addComment(postId: FanboxPostId, rootCommentId: FanboxCommentId, parentCommentId: FanboxCommentId, body: String)
Link copied to clipboard
suspend fun deleteComment(commentId: FanboxCommentId)
Link copied to clipboard
suspend fun downloadPostImage(postId: FanboxPostId, itemId: FanboxPostItemId, onDownload: (Float) -> Unit): HttpStatement
Link copied to clipboard
suspend fun downloadPostThumbnailImage(postId: FanboxPostId, itemId: FanboxPostItemId, onDownload: (Float) -> Unit): HttpStatement
Link copied to clipboard
suspend fun followCreator(userId: FanboxUserId)
Link copied to clipboard
suspend fun getBells(page: Int): PageNumberInfo<FanboxBell>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun getCreatorPosts(creatorId: FanboxCreatorId, cursor: FanboxCursor?, nextCursor: FanboxCursor?): PageCursorInfo<FanboxPost>
Link copied to clipboard
Link copied to clipboard
suspend fun getCreatorTags(creatorId: FanboxCreatorId): List<FanboxTag>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun getPostFromQuery(query: String, creatorId: FanboxCreatorId?, page: Int): PageNumberInfo<FanboxPost>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun likeComment(commentId: FanboxCommentId)
Link copied to clipboard
suspend fun likePost(postId: FanboxPostId)
Link copied to clipboard
Link copied to clipboard
suspend fun searchTags(query: String): List<FanboxTag>
Link copied to clipboard
suspend fun setFanboxSessionId(sessionId: String)
Link copied to clipboard
suspend fun unfollowCreator(userId: FanboxUserId)
Link copied to clipboard
suspend fun updateCsrfToken()