ReportingService

This interface defines methods to report content of an event.

Functions

Link copied to clipboard
abstract suspend fun reportContent(eventId: String, score: Int, reason: String)

Report content Ref: https://matrix.org/docs/spec/client_server/latest#post-matrix-client-r0-rooms-roomid-report-eventid

Link copied to clipboard
abstract suspend fun reportRoom(reason: String)

Report a room.