aboutsummaryrefslogtreecommitdiff
path: root/lib/models/gen/attachment.atd
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2018-12-14 10:52:36 -0700
committerAdelyn Breelove <[email protected]>2018-12-14 10:52:36 -0700
commitaf684566617ebce536e9f30693aa3e225af906c4 (patch)
tree0184187b0b90e402f74402ffd6975d54fd1b5bb9 /lib/models/gen/attachment.atd
parentFix more dispatch issues (diff)
downloaddisml-af684566617ebce536e9f30693aa3e225af906c4.tar.xz
disml-af684566617ebce536e9f30693aa3e225af906c4.zip
There's a lot going on
Diffstat (limited to 'lib/models/gen/attachment.atd')
-rw-r--r--lib/models/gen/attachment.atd11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/models/gen/attachment.atd b/lib/models/gen/attachment.atd
new file mode 100644
index 0000000..9757b49
--- /dev/null
+++ b/lib/models/gen/attachment.atd
@@ -0,0 +1,11 @@
+type snowflake <ocaml from="Snowflake" t="t"> = abstract
+
+type t = {
+ id: snowflake;
+ filename: string;
+ size: int;
+ url: string;
+ proxy_url: string;
+ ?height: int option;
+ ?width: int option;
+} \ No newline at end of file