Skip to main content

parse_interactive

Function parse_interactive 

Source
pub fn parse_interactive(payload: &Value) -> Option<SlackInboundEvent>
Expand description

Parse a Socket Mode interactive (block_actions) payload into a SlackInboundEvent::ButtonInteraction, or None if it is not one of our two buttons. pub so the wire-parse gate (mc_slack_wire_parse) drives the REAL parser, not a pre-built enum — the MC-6 boundary lives in this code.