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