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

namespace LibMatrix.StateEventTypes.Spec;

public class ProfileResponseEventData : IStateEventType {
    [JsonPropertyName("avatar_url")]
    public string? AvatarUrl { get; set; } = "";

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