From b9ee77f8153090e9d47e73ab195540d10720c7b6 Mon Sep 17 00:00:00 2001 From: Adelyn Breelove Date: Thu, 10 Jan 2019 13:12:49 -0700 Subject: AAAAAAAAAAAAAAAAAAAAAAAA --- lib/models/attachment.ml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'lib/models/attachment.ml') diff --git a/lib/models/attachment.ml b/lib/models/attachment.ml index cd04da8..9e72f15 100644 --- a/lib/models/attachment.ml +++ b/lib/models/attachment.ml @@ -1,3 +1,9 @@ -module Make(Http : S.Http) = struct - type t = Attachment_t.t -end \ No newline at end of file +type t = { + id: Snowflake.t; + filename: string; + size: int; + url: string; + proxy_url: string; + height: int [@default -1]; + width: int [@default -1]; +} [@@deriving yojson] \ No newline at end of file -- cgit v1.2.3