blob: 5070ee49803d16900de7b3bc8cf67a668c7e5b38 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
using System.Text.Json.Serialization;
namespace LibMatrix.EventTypes.Spec;
[MatrixEvent("m.room.member")]
[JsonConverter(typeof(MatrixEventContentConverter<RoomMembershipEventContent>))]
public class RoomMembershipEventContent : BaseMatrixEventContent {
public string Membership {
get => InternalJson["membership"]!.GetValue<string>();
set => InternalJson["membership"] = value;
}
}
|