diff options
| author | Adelyn Breelove <[email protected]> | 2018-12-14 10:52:36 -0700 |
|---|---|---|
| committer | Adelyn Breelove <[email protected]> | 2018-12-14 10:52:36 -0700 |
| commit | af684566617ebce536e9f30693aa3e225af906c4 (patch) | |
| tree | 0184187b0b90e402f74402ffd6975d54fd1b5bb9 /lib/models/gen/channel.atd | |
| parent | Fix more dispatch issues (diff) | |
| download | disml-af684566617ebce536e9f30693aa3e225af906c4.tar.xz disml-af684566617ebce536e9f30693aa3e225af906c4.zip | |
There's a lot going on
Diffstat (limited to 'lib/models/gen/channel.atd')
| -rw-r--r-- | lib/models/gen/channel.atd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/models/gen/channel.atd b/lib/models/gen/channel.atd new file mode 100644 index 0000000..6ab58cf --- /dev/null +++ b/lib/models/gen/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 |