blob: 34bd4fe32a55f2bc2100d4292fabd15ea2bbbfb0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using System.Text.Json.Serialization;
namespace LibMatrix.LegacyEvents.EventTypes.Spec.State;
[LegacyMatrixEvent(EventName = EventId)]
public class RoomEncryptionLegacyEventContent : LegacyEventContent {
public const string EventId = "m.room.encryption";
[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; }
}
|