about summary refs log tree commit diff
path: root/MatrixRoomUtils.Core/StateEventTypes/PresenceStateEventData.cs
blob: d835c957c21eff6a770614fcf7cf01cafb26c6d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System.Text.Json.Serialization;

namespace MatrixRoomUtils.Core.StateEventTypes; 

public class PresenceStateEventData {
    [JsonPropertyName("presence")]
    public string Presence { get; set; }
    [JsonPropertyName("last_active_ago")]
    public long LastActiveAgo { get; set; }
    [JsonPropertyName("currently_active")]
    public bool CurrentlyActive { get; set; }
    [JsonPropertyName("status_msg")]
    public string StatusMessage { get; set; }
}