blob: 63f1e75b442c8ca7b882cabb99f1c3bbc03f8901 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
using System.Text.Json.Serialization;
namespace LibMatrix.EventTypes;
public interface IMatrixEvent<out T> where T : MatrixEventContent;
public class MatrixEvent<T> : IMatrixEvent<T> where T : MatrixEventContent {
[JsonPropertyName("content")]
public T? Content { get; set; }
}
|