diff options
| author | Adelyn Breelove <[email protected]> | 2019-01-10 13:12:49 -0700 |
|---|---|---|
| committer | Adelyn Breelove <[email protected]> | 2019-01-10 13:12:49 -0700 |
| commit | b9ee77f8153090e9d47e73ab195540d10720c7b6 (patch) | |
| tree | d36bdb7ce17e03ee1bdb60d6b638f8ac6e022711 /lib/models/attachment.ml | |
| parent | Why are events so confusing (diff) | |
| download | disml-b9ee77f8153090e9d47e73ab195540d10720c7b6.tar.xz disml-b9ee77f8153090e9d47e73ab195540d10720c7b6.zip | |
AAAAAAAAAAAAAAAAAAAAAAAA
Diffstat (limited to 'lib/models/attachment.ml')
| -rw-r--r-- | lib/models/attachment.ml | 12 |
1 files changed, 9 insertions, 3 deletions
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 |