Class CreateRoomRequest
Request of POST /_matrix/client/v3/createRoom.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record CreateRoomRequest : IEquatable<CreateRoomRequest>
Properties
| Edit this page View SourceInitialState
Extra state events to set at creation.
Declaration
public IReadOnlyList<InitialStateEvent>? InitialState { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<InitialStateEvent> |
Invite
User IDs to invite.
Declaration
public IReadOnlyList<string>? Invite { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
IsDirect
Whether this is a direct chat.
Declaration
public bool? IsDirect { get; init; }
Property Value
| Type | Description |
|---|---|
| bool? |
Name
Room name.
Declaration
public string? Name { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Preset
Preset, see RoomPresets.
Declaration
public string? Preset { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
RoomAliasName
Localpart of an alias to create, e.g. general for #general:server.
Declaration
public string? RoomAliasName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
RoomVersion
Room version; server default when null.
Declaration
public string? RoomVersion { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Topic
Room topic.
Declaration
public string? Topic { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Visibility
public to list in the room directory, otherwise private.
Declaration
public string? Visibility { get; init; }
Property Value
| Type | Description |
|---|---|
| string |