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/message_t.ml | |
| 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/message_t.ml')
| -rw-r--r-- | lib/models/message_t.ml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/lib/models/message_t.ml b/lib/models/message_t.ml new file mode 100644 index 0000000..2442d76 --- /dev/null +++ b/lib/models/message_t.ml @@ -0,0 +1,40 @@ +(* Auto-generated from "message.atd" *) + [@@@ocaml.warning "-27-32-35-39"] + +type user = User_t.t + +type snowflake = Snowflake_t.t + +type role = Role_t.t + +type reaction = Reaction_t.t + +type partial_member = Member_t.partial_member + +type embed = Embed_t.t + +type attachment = Attachment_t.t + +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: user list; + role_mentions: role list; + attachments: attachment list; + embeds: embed list; + reactions: reaction list; + nonce: snowflake option; + pinned: bool; + webhook_id: snowflake; + kind: int +} + +type member = Member_t.t |