about summary refs log tree commit diff
path: root/MatrixRoomUtils.Core/StateEventTypes/MessageEventData.cs
blob: ad99709af6bcbe396141809d494a311ddd48fc7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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; }
}