Files
server/extra/admin-api/Models/Spacebar.Models.Gateway/LazyRequest.cs
2026-04-18 18:26:34 +02:00

26 lines
718 B
C#

using System.Text.Json.Serialization;
namespace Spacebar.Models.Gateway;
public class LazyRequest
{
[JsonPropertyName("guild_id")]
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)]
public long GuildId { get; set; }
// key is string because json...
[JsonPropertyName("channels")]
public Dictionary<string, List<List<int>>> Channels { get; set; }
[JsonPropertyName("members")]
public bool Members { get; set; }
[JsonPropertyName("threads")]
public bool Threads { get; set; }
[JsonPropertyName("activities")]
public bool Activities { get; set; }
[JsonPropertyName("typing")]
public bool Typing { get; set; }
}