StickyEventDao

Functions

Link copied to clipboard
abstract suspend fun delete(roomId: RoomId, type: String, sender: UserId, stickyKey: String)
Link copied to clipboard
abstract suspend fun deleteAll()
Link copied to clipboard
abstract suspend fun deleteByRoomId(roomId: RoomId)
Link copied to clipboard
abstract suspend fun get(roomId: RoomId, type: String): List<RoomStickyEvent>
abstract suspend fun get(roomId: RoomId, type: String, sender: UserId, stickyKey: String): RoomStickyEvent?
Link copied to clipboard
abstract suspend fun getByEndTimeBefore(before: Long): List<RoomStickyEvent>
Link copied to clipboard
abstract suspend fun getByEventId(roomId: RoomId, eventId: EventId): RoomStickyEvent?
Link copied to clipboard
abstract suspend fun insert(entity: RoomStickyEvent)