about summary refs log tree commit diff
path: root/LibMatrix.EventTypes/Events/RoomMembershipEventContent.cs
blob: dac70940e04edf78137214806e2b8ad8cd91b404 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
using System.Text.Json.Serialization;

namespace LibMatrix.EventTypes.Events;

public class RoomMembershipEventContent : MatrixEventContent {
    public string Membership {
        get => _json["membership"]!.GetValue<string>();
        set => Console.WriteLine(value);
    }
}