blob: f9b2a98d685fbd16c67f5871e501ae3b76e243d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
(** Represents a single reaction as received over the gateway. *)
type reaction_event = {
user_id: User_id_t.t;
channel_id: Channel_id_t.t;
message_id: Message_id.t;
guild_id: Guild_id_t.t option;
emoji: Emoji.partial_emoji;
} [@@deriving sexp, yojson { exn = true }]
(** Represents a number of emojis used as a reaction on a message. *)
type t = {
count: int;
emoji: Emoji.t;
} [@@deriving sexp, yojson { exn = true }]
|