diff options
| author | Adelyn Breelove <[email protected]> | 2018-12-19 13:44:04 -0700 |
|---|---|---|
| committer | Adelyn Breelove <[email protected]> | 2018-12-19 13:44:04 -0700 |
| commit | 1a73007b3aaa17940173eaff1eb4f6703fd9ec0c (patch) | |
| tree | f8563e2a2ab407c616fd40333d42cdd741e93344 /lib/models/gen/message.atd | |
| parent | Some refactoring of http code (diff) | |
| download | disml-1a73007b3aaa17940173eaff1eb4f6703fd9ec0c.tar.xz disml-1a73007b3aaa17940173eaff1eb4f6703fd9ec0c.zip | |
Re-arrange autogen serialization files and incorporate into dune file
Diffstat (limited to 'lib/models/gen/message.atd')
| -rw-r--r-- | lib/models/gen/message.atd | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/models/gen/message.atd b/lib/models/gen/message.atd deleted file mode 100644 index 8611f6a..0000000 --- a/lib/models/gen/message.atd +++ /dev/null @@ -1,29 +0,0 @@ -type snowflake <ocaml from="Snowflake" t="t"> = abstract -type user <ocaml from="User" t="t"> = abstract -type member <ocaml from="Member" t="t"> = abstract -type partial_member <ocaml from="Member" t="partial_member"> = abstract -type attachment <ocaml from="Attachment" t="t"> = abstract -type embed <ocaml from="Embed" t="t"> = abstract -type reaction <ocaml from="Reaction" t="t"> = abstract - -type t = { - id: snowflake; - author: user; - channel_id: snowflake; - ?member: partial_member option; - ?guild_id: snowflake option; - content: string; - timestamp: string; - ?edited_timestamp: string option; - tts: bool; - mention_everyone: bool; - mentions: snowflake list; - ?role_mentions: snowflake list option; - attachments: attachment list; - embeds: embed list; - ?reactions: snowflake list option; - ?nonce: snowflake option; - pinned: bool; - ?webhook_id: snowflake option; - kind <json name="type">: int; -}
\ No newline at end of file |