aboutsummaryrefslogtreecommitdiff
path: root/lib/models/channel.ml
blob: d52be0509e5dfad6f1c93a1eb669e8c2943d80ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
let id (ch:Channel_t.t) = match ch with
| `Group g -> g.id
| `Private p -> p.id
| `GuildText t -> t.id
| `GuildVoice v -> v.id
| `Category c -> c.id

module Make(Http : S.Http) = struct
    (* open Channel_t *)

    type t = Channel_t.t
end