aboutsummaryrefslogtreecommitdiff
path: root/lib/models/channel.ml
diff options
context:
space:
mode:
authorMishio595 <[email protected]>2018-11-25 16:02:37 -0700
committerMishio595 <[email protected]>2018-11-25 16:02:37 -0700
commit011e3224c0292dfcb0024daf474d4ef1e00b82f0 (patch)
treea04caad1d49ee4092cfb3bb3506ad5dba85120a4 /lib/models/channel.ml
parentMajor structural changes (diff)
downloaddisml-011e3224c0292dfcb0024daf474d4ef1e00b82f0.tar.xz
disml-011e3224c0292dfcb0024daf474d4ef1e00b82f0.zip
A lot is going on...
Diffstat (limited to 'lib/models/channel.ml')
-rw-r--r--lib/models/channel.ml17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/models/channel.ml b/lib/models/channel.ml
new file mode 100644
index 0000000..78051c3
--- /dev/null
+++ b/lib/models/channel.ml
@@ -0,0 +1,17 @@
+type t = {
+ id: Snowflake.t;
+ kind: int;
+ (* guild: Guild.t option; *)
+ position: int option;
+ permission_overwrites: (int list) option;
+ name: string option;
+ topic: string option;
+ nsfw: bool option;
+ bitrate: int option;
+ user_limit: int option;
+ recipients: (User.t list) option;
+ icon: string option;
+ owner_id: Snowflake.t option;
+ application_id: Snowflake.t option;
+ parent_id: Snowflake.t option;
+} \ No newline at end of file