blob: bc1c52b3bdf058b7390065f9e3f0de25c6d3cb62 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using System.Text.Json.Serialization;
using MatrixRoomUtils.Core.Extensions;
using MatrixRoomUtils.Core.Interfaces;
[MatrixEvent(EventName = "m.room.message")]
public class MessageEventData : IStateEventType {
[JsonPropertyName("body")]
public string Body { get; set; }
[JsonPropertyName("msgtype")]
public string MessageType { get; set; } = "m.notice";
[JsonPropertyName("formatted_body")]
public string FormattedBody { get; set; }
[JsonPropertyName("format")]
public string Format { get; set; }
}
|