File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -553,11 +553,26 @@ type channel_created_event = {
553553 channel: channel_obj;
554554}
555555
556+ type item = {
557+ type_ <json name="type"> : string;
558+ ?channel : string nullable;
559+ ?ts : string nullable;
560+ }
561+
562+ type reaction_event = {
563+ user : string;
564+ reaction : string;
565+ item : item;
566+ event_ts : string
567+ }
568+
556569type event = [
557570| Message <json name="message"> of message_event
558571| App_mention <json name="app_mention"> of message_event
559572| Link_shared <json name="link_shared"> of link_shared_event
560573| Channel_created <json name="channel_created"> of channel_created_event
574+ | Reaction_added <json name="reaction_added"> of reaction_event
575+ | Reaction_removed <json name="reaction_removed"> of reaction_event
561576] <ocaml repr="classic"> <json adapter.ocaml="Atdgen_runtime.Json_adapter.Type_field">
562577
563578type event_callback_notification = {
You can’t perform that action at this time.
0 commit comments