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

namespace MatrixRoomUtils.Core.StateEventTypes;

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

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