diff options
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 |