Listen for shortcut (for global shortcuts) and message_actions (for message shortcuts).
shortcut
message_actions
See: shortcuts documentation and shortcut payload reference