Class ReportRow
A user's report of an event, room or user, for the admin to review.
Inherited Members
Namespace: Uniform.Matrix.Server.Storage
Assembly: Uniform.Matrix.Server.dll
Syntax
public sealed class ReportRow
Properties
| Edit this page View SourceEventId
Reported event, if any.
Declaration
public string? EventId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Report ID; primary key.
Declaration
public long Id { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Reason
The reporter's reason, at most 1000 characters.
Declaration
public required string Reason { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ReceivedTs
Time of the report in milliseconds since the Unix epoch.
Declaration
public long ReceivedTs { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Reporter
Who reported.
Declaration
public required string Reporter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Resolved
Whether the admin has dealt with it.
Declaration
public bool Resolved { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
RoomId
Reported room, or the room of the reported event.
Declaration
public string? RoomId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserId
Reported user, if any.
Declaration
public string? UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |