Class AdminReport
A report in Synapse's event report admin API; this project's server lists reports of rooms and users there too.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record AdminReport : IEquatable<AdminReport>
Properties
| Edit this page View SourceEventId
Reported event.
Declaration
public string? EventId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
EventSummary
The reported event's sender and text, which this project's server adds.
Declaration
public string? EventSummary { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Report ID.
Declaration
public long Id { get; init; }
Property Value
| Type | Description |
|---|---|
| long |
Reason
The reporter's reason.
Declaration
public string? Reason { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
ReceivedTs
When it was received, in milliseconds since the Unix epoch.
Declaration
public long ReceivedTs { get; init; }
Property Value
| Type | Description |
|---|---|
| long |
Resolved
Whether an admin resolved it, which this project's server adds.
Declaration
public bool Resolved { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
RoomId
Reported room, or the room of the reported event.
Declaration
public string? RoomId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
TargetUserId
Reported user, which this project's server adds.
Declaration
public string? TargetUserId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
UserId
Who reported.
Declaration
public string UserId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |