EventService

interface EventService

Functions

Link copied to clipboard
abstract suspend fun getEvent(roomId: String, eventId: String): Event

Ask the homeserver for an event content. The SDK will try to decrypt it if it is possible The result will not be stored into cache

Link copied to clipboard
abstract fun getEventFromCache(roomId: String, eventId: String): Event?

Get an Event from cache. Return null if not found.