about summary refs log tree commit diff
path: root/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomEncryptionEventContent.cs
blob: 8e9e05f2a259cd56c12d843429f0118a57b0706d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System.Text.Json.Serialization;

namespace LibMatrix.EventTypes.Spec.State;

[MatrixEvent(EventName = "m.room.encryption")]
public class RoomEncryptionEventContent : TimelineEventContent {
    [JsonPropertyName("algorithm")]
    public string? Algorithm { get; set; }
    [JsonPropertyName("rotation_period_ms")]
    public ulong? RotationPeriodMs { get; set; }
    [JsonPropertyName("rotation_period_msgs")]
    public ulong? RotationPeriodMsgs { get; set; }
}