aboutsummaryrefslogtreecommitdiff
path: root/lib/models/channel/message/attachment.ml
blob: d720a8137583b1b3d6dd4dbbcbcd611e62d519f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
open Core

type t = {
    id: Snowflake.t;
    filename: string;
    size: int;
    url: string;
    proxy_url: string;
    height: int [@default -1];
    width: int [@default -1];
} [@@deriving sexp, yojson { strict = false; exn = true }]