aboutsummaryrefslogtreecommitdiff
path: root/lib/models/gen/attachment.atd
diff options
context:
space:
mode:
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