aboutsummaryrefslogtreecommitdiff
path: root/lib/models/gen/message_t.ml
blob: ce2d5a4dd4271d11bbde07edd193e76dc2cffa75 (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
30
31
32
33
34
35
36
37
38
(* Auto-generated from "message.atd" *)
              [@@@ocaml.warning "-27-32-35-39"]

type user = User_t.t

type snowflake = Snowflake_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: 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: int
}

type reaction = Reaction_t.t

type member = Member_t.t