blob: 8d0576d9789368f410619e3162188bdfb1bb13dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
using System.Text.Json.Serialization;
using MatrixRoomUtils.Core.Extensions;
using MatrixRoomUtils.Core.Interfaces;
namespace MatrixRoomUtils.Core.StateEventTypes;
[MatrixEvent(EventName = "m.room.encryption")]
public class RoomEncryptionEventData : IStateEventType {
[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; }
}
|