-
Notifications
You must be signed in to change notification settings - Fork 0
/
Classes.cs
39 lines (39 loc) · 1007 Bytes
/
Classes.cs
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
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Text;
using Newtonsoft.Json;
class Message
{
public string ID {get; set;}
public int Type {get; set;}
public string ChannelID {get; set;}
public string UserID {get; set;}
public string UserName {get; set;}
public double Time {get; set;}
public string Content {get; set;}
public string IV {get; set;}
}
class Guild
{
public string Name {get; set;}
public string ID {get; set;}
public string OwnerID {get; set;}
public string Description {get; set;}
public List<Channel> Channels {get; set;}
public string KeyDigest {get; set;}
}
class Channel
{
public string Name {get; set;}
public string ID {get; set;}
public int Type {get; set;}
public string Description {get; set;}
public int IsDM {get; set;}
}
class User
{
public string Name {get; set;}
public string ID {get; set;}
public string Description {get; set;}
public string Picture {get; set;}
public string PublicKey {get; set;}
}