about summary refs log tree commit diff
path: root/MatrixRoomUtils.Core/StateEventTypes/Spec/ProfileResponseEventData.cs
blob: 4596de9fd773d8dc2caace9ced34660ca04721de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System.Text.Json.Serialization;
using MatrixRoomUtils.Core.Extensions;
using MatrixRoomUtils.Core.Interfaces;

namespace MatrixRoomUtils.Core.StateEventTypes.Spec;

[MatrixEvent(EventName = "m.room.member")]
public class ProfileResponseEventData : IStateEventType {
    [JsonPropertyName("avatar_url")]
    public string? AvatarUrl { get; set; } = "";

    [JsonPropertyName("displayname")]
    public string? DisplayName { get; set; } = "";
}