diff options
| author | Adelyn Breelove <[email protected]> | 2019-01-23 10:40:04 -0700 |
|---|---|---|
| committer | Adelyn Breelove <[email protected]> | 2019-01-23 10:40:04 -0700 |
| commit | f23a12be25f819b9cc9ae05829b14edb6807082f (patch) | |
| tree | e90bf9fa5a469c9707feccce9bf3926858c67f35 /lib/models/channel/message/reaction_t.mli | |
| parent | fix a doc typo (diff) | |
| download | disml-f23a12be25f819b9cc9ae05829b14edb6807082f.tar.xz disml-f23a12be25f819b9cc9ae05829b14edb6807082f.zip | |
Guild ID and Channel ID abstractions
Diffstat (limited to 'lib/models/channel/message/reaction_t.mli')
| -rw-r--r-- | lib/models/channel/message/reaction_t.mli | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/models/channel/message/reaction_t.mli b/lib/models/channel/message/reaction_t.mli index 5bdd275..db95521 100644 --- a/lib/models/channel/message/reaction_t.mli +++ b/lib/models/channel/message/reaction_t.mli @@ -1,3 +1,4 @@ +(** Represents a single reaction as received over the gateway. *) type reaction_event = { user_id: Snowflake.t; channel_id: Snowflake.t; @@ -6,6 +7,7 @@ type reaction_event = { emoji: Emoji.partial_emoji; } [@@deriving sexp, yojson] +(** Represents a number of emojis used as a reaction on a message. *) type t = { count: int; emoji: Emoji.t; |