Class MemberContent
Content of m.room.member; state key is the user ID.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record MemberContent : IEquatable<MemberContent>
Properties
| Edit this page View SourceAvatarUrl
Avatar content URI.
Declaration
public string? AvatarUrl { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Display name in this room.
Declaration
[JsonPropertyName("displayname")]
public string? DisplayName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
IsDirect
Whether an invite is for a direct chat.
Declaration
public bool? IsDirect { get; init; }
Property Value
| Type | Description |
|---|---|
| bool? |
Membership
Membership state, see Memberships.
Declaration
public string? Membership { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Reason
Reason for a kick, ban, leave or invites.
Declaration
public string? Reason { get; init; }
Property Value
| Type | Description |
|---|---|
| string |