blob: a3627f2fa77b3d897013e63d6a4ed1d3314f0438 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
using System.Text.Json.Serialization;
using LibMatrix.Interfaces;
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; }
}
|