blob: 5ddd7f3b65da1b0a5eabf2738bda2014d6f792ff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
using System.Text.Json.Serialization;
namespace LibMatrix.EventTypes.Spec.State;
[MatrixEvent(EventName = "m.room.encryption")]
public class RoomEncryptionEventContent : EventContent {
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; }
}
|