aboutsummaryrefslogtreecommitdiff
path: root/lib/models/gen/channel.atd
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2018-12-14 16:49:37 -0700
committerAdelyn Breedlove <[email protected]>2018-12-14 16:49:37 -0700
commit41fbba7d0b7dd9fff8dcb9985a474cfbbd2408f2 (patch)
tree690861418bed15de47e7cf5672d96fdacc9abe5e /lib/models/gen/channel.atd
parentMerge branch 'dev' of https://gitlab.com/Mishio595/disml into dev (diff)
parentA few metafile updates (diff)
downloaddisml-41fbba7d0b7dd9fff8dcb9985a474cfbbd2408f2.tar.xz
disml-41fbba7d0b7dd9fff8dcb9985a474cfbbd2408f2.zip
Merging
Diffstat (limited to 'lib/models/gen/channel.atd')
-rw-r--r--lib/models/gen/channel.atd19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/models/gen/channel.atd b/lib/models/gen/channel.atd
new file mode 100644
index 0000000..6ab58cf
--- /dev/null
+++ b/lib/models/gen/channel.atd
@@ -0,0 +1,19 @@
+type snowflake <ocaml from="Snowflake" t="t"> = abstract
+type user <ocaml from="User" t="t"> = abstract
+
+type t = {
+ id: snowflake;
+ kind <json name="type">: int;
+ ?guild_id: snowflake option;
+ ?position: int option;
+ ?name: string option;
+ ?topic: string option;
+ ?nsfw: bool option;
+ ?bitrate: int option;
+ ?user_limit: int option;
+ ?recipients: user list option;
+ ?icon: string option;
+ ?owner_id: snowflake option;
+ ?application_id: snowflake option;
+ ?parent_id: snowflake option;
+} \ No newline at end of file