Threads Service
This interface defines methods to interact with thread related features. It's the dynamic threads implementation and the homeserver must return a capability entry for threads. If the server do not support m.thread then org.matrix.android.sdk.api.session.room.threads.local.ThreadsLocalService should be used instead
Functions
Link copied to clipboard
abstract fun enhanceThreadWithEditions(threads: List<ThreadSummary>): List<ThreadSummary>
Content copied to clipboard
Enhance the provided ThreadSummaryList by adding the latest message edition for that thread.
Link copied to clipboard
abstract suspend fun fetchThreadList( nextBatchId: String?, limit: Int, filter: ThreadFilter = ThreadFilter.ALL): FetchThreadsResult
Content copied to clipboard
Link copied to clipboard
abstract suspend fun fetchThreadTimeline( rootThreadEventId: String, from: String, limit: Int)
Content copied to clipboard
Fetch all thread replies for the specified thread using the /relations api.
Link copied to clipboard
Returns a list of all the ThreadSummary that exists at the room level.
Link copied to clipboard
abstract suspend fun getPagedThreadsList(userParticipating: Boolean, pagedListConfig: PagedList.Config): ThreadLivePageResult
Content copied to clipboard