blob: 99b8a126c01db00b326d9516b90368e99a69178a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
using System.Text.Json.Serialization;
namespace Spacebar.Interop.Replication.Abstractions;
public class ReplicationMessage {
[JsonPropertyName("channel_id")]
public string? ChannelId { get; set; }
[JsonPropertyName("guild_id")]
public string? GuildId { get; set; }
[JsonPropertyName("user_id")]
public string? UserId { get; set; }
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; set; }
[JsonPropertyName("event")]
public string Event { get; set; } = null!;
[JsonPropertyName("origin")]
public string? Origin { get; set; }
[JsonPropertyName("data")]
public object Payload { get; set; } = null!;
}
|