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