blob: 8611f6a184e0c883f26fd1db10ad63d6c6f9d64d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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;
}
|