diff options
Diffstat (limited to 'LibMatrix/StateEventTypes/Spec/RoomNameEventData.cs')
-rw-r--r-- | LibMatrix/StateEventTypes/Spec/RoomNameEventData.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/LibMatrix/StateEventTypes/Spec/RoomNameEventData.cs b/LibMatrix/StateEventTypes/Spec/RoomNameEventData.cs new file mode 100644 index 0000000..9d13513 --- /dev/null +++ b/LibMatrix/StateEventTypes/Spec/RoomNameEventData.cs @@ -0,0 +1,11 @@ +using System.Text.Json.Serialization; +using LibMatrix.Extensions; +using LibMatrix.Interfaces; + +namespace LibMatrix.StateEventTypes.Spec; + +[MatrixEvent(EventName = "m.room.name")] +public class RoomNameEventData : IStateEventType { + [JsonPropertyName("name")] + public string? Name { get; set; } +} |