about summary refs log tree commit diff
path: root/LibMatrix.Federation/FederationTypes/RoomInvite.cs
blob: dc550f3dcea81e82da2eda1d273b3714ee09d012 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System.Text.Json.Serialization;

namespace LibMatrix.Federation.FederationTypes;

public class RoomInvite {
    [JsonPropertyName("event")]
    public required SignedFederationEvent Event { get; set; }

    [JsonPropertyName("invite_room_state")]
    public required List<MatrixEventResponse> InviteRoomState { get; set; } = [];

    [JsonPropertyName("room_version")]
    public required string RoomVersion { get; set; }
}