Class PublicRoom
Room listed in the public room directory.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record PublicRoom : IEquatable<PublicRoom>
Properties
| Edit this page View SourceAvatarUrl
Avatar content URI.
Declaration
public string? AvatarUrl { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
CanonicalAlias
Main alias.
Declaration
public string? CanonicalAlias { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
GuestCanJoin
Whether guests can join.
Declaration
public bool GuestCanJoin { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
JoinRule
Join rule, e.g. public or knock.
Declaration
public string? JoinRule { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Room name.
Declaration
public string? Name { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
NumJoinedMembers
Number of joined members.
Declaration
public int NumJoinedMembers { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
RoomId
Room ID.
Declaration
public required string RoomId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
RoomType
Room type, e.g. m.space; null for chat rooms.
Declaration
public string? RoomType { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Topic
Room topic.
Declaration
public string? Topic { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
WorldReadable
Whether guests can read the room without joining.
Declaration
public bool WorldReadable { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |