Factory

object Factory(source)

Functions

Link copied to clipboard
fun create(channelId: String, threadId: String, order: String, page: String, postId: String? = null, time: String? = null, pageSize: String? = null): GetThreadPostApi

构造 回复列表 请求。

Inherited functions

Link copied to clipboard
inline fun GetThreadPostApi.Factory.createFlow(channelId: String, threadId: String, order: String, postId: String? = null, time: String? = null, pageSize: String? = null, crossinline block: suspend GetThreadPostApi.Factory.(page: String) -> ListData<Post>): Flow<ListData<Post>>

批次量的通过 GetThreadPostApi 查询所有结果直至最后一次响应的页码达到最大值。

Link copied to clipboard
inline fun GetThreadPostApi.Factory.createItemFlow(channelId: String, threadId: String, order: String, postId: String? = null, time: String? = null, pageSize: String? = null, crossinline block: suspend GetThreadPostApi.Factory.(page: String) -> ListData<Post>): Flow<Post>

批次量的通过 GetThreadPostApi 查询所有结果,返回单个回复的流。