Class CreateContent
Content of m.room.create.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record CreateContent : IEquatable<CreateContent>
Properties
| Edit this page View SourceAdditionalCreators
Users besides the sender who created the room, from room version 12, where creators have unlimited power.
Declaration
public IReadOnlyList<string>? AdditionalCreators { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
Creator
Room creator in room versions before 11; uses the event sender otherwise.
Declaration
public string? Creator { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
HasPowerfulCreators
Return whether the room's creators have unlimited power and no power level, as from room version 12.
Declaration
public bool HasPowerfulCreators { get; }
Property Value
| Type | Description |
|---|---|
| bool |
RoomVersion
Room version.
Declaration
public string? RoomVersion { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Room type, e.g. m.space; null for chat rooms.
Declaration
public string? Type { get; init; }
Property Value
| Type | Description |
|---|---|
| string |