diff options
| author | Adelyn Breedlove <[email protected]> | 2018-12-13 16:44:32 -0700 |
|---|---|---|
| committer | Adelyn Breedlove <[email protected]> | 2018-12-13 16:44:32 -0700 |
| commit | c6463e5ca9c557c7e8ecd05e71d37f237bc59da6 (patch) | |
| tree | df4b700a4c039e34bbee401250281a6c1814d4ca /lib/models/channel.atd | |
| parent | Merge branch 'dev' of https://gitlab.com/Mishio595/disml into dev (diff) | |
| parent | Fix more dispatch issues (diff) | |
| download | disml-c6463e5ca9c557c7e8ecd05e71d37f237bc59da6.tar.xz disml-c6463e5ca9c557c7e8ecd05e71d37f237bc59da6.zip | |
Merge branch 'dev' of https://gitlab.com/Mishio595/disml into dev
Diffstat (limited to 'lib/models/channel.atd')
| -rw-r--r-- | lib/models/channel.atd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/models/channel.atd b/lib/models/channel.atd new file mode 100644 index 0000000..6ab58cf --- /dev/null +++ b/lib/models/channel.atd @@ -0,0 +1,19 @@ +type snowflake <ocaml from="Snowflake" t="t"> = abstract +type user <ocaml from="User" t="t"> = abstract + +type t = { + id: snowflake; + kind <json name="type">: int; + ?guild_id: snowflake option; + ?position: int option; + ?name: string option; + ?topic: string option; + ?nsfw: bool option; + ?bitrate: int option; + ?user_limit: int option; + ?recipients: user list option; + ?icon: string option; + ?owner_id: snowflake option; + ?application_id: snowflake option; + ?parent_id: snowflake option; +}
\ No newline at end of file |