MatrixClientConfiguration

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
data class CacheExpireDurations(val globalAccountDate: Duration, val deviceKeys: Duration, val crossSigningKeys: Duration, val keyVerificationState: Duration, val mediaCacheMapping: Duration, val olmSession: Duration, val inboundMegolmSession: Duration, val inboundMegolmMessageIndex: Duration, val outboundMegolmSession: Duration, val roomAccountData: Duration, val roomState: Duration, val timelineEvent: Duration, val timelineEventRelation: Duration, val roomUser: Duration)
Link copied to clipboard
data class SyncLoopDelays(val syncLoopDelay: Duration, val syncLoopErrorDelay: Duration)

Properties

Link copied to clipboard

Automatically join upgraded rooms.

Link copied to clipboard

Specifies how long values are kept in the cache when not used by anyone.

Link copied to clipboard

Delete a room, when it's membership is Membership.LEAVE.

Link copied to clipboard
var httpClientFactory: (HttpClientConfig<*>.() -> Unit) -> HttpClient

Set custom HttpClient.

Link copied to clipboard
var lastRelevantEventFilter: (Event.RoomEvent<*>) -> Boolean

Allows you to customize, which Room.lastRelevantEventId is set.

Link copied to clipboard
var modules: List<Module>

Inject and override modules into Trixnity.

Link copied to clipboard

Sets the own bookmark to the latest messages sent by this client.

Link copied to clipboard

Set custom delays for the sync loop.