Open noxasaxon opened 1 year ago
SlackInteractionEvent will need a new variant, BlockSuggestion
pub enum SlackInteractionEvent {
#[serde(rename = "block_actions")]
BlockActions(SlackInteractionBlockActionsEvent),
#[serde(rename = "dialog_submission")]
DialogSubmission(SlackInteractionDialogueSubmissionEvent),
#[serde(rename = "message_action")]
MessageAction(SlackInteractionMessageActionEvent),
#[serde(rename = "shortcut")]
Shortcut(SlackInteractionShortcutEvent),
#[serde(rename = "view_submission")]
ViewSubmission(SlackInteractionViewSubmissionEvent),
#[serde(rename = "view_closed")]
ViewClosed(SlackInteractionViewClosedEvent),
}
Hey, great you're working on it 🏆 Thanks for detail info and the links!
Let me know if you need any help from me.
I noticed this issue has been stale for a while - I also needed to add this to my project's fork. I'd love to take this over 👍
I'm working on getting a PR through, but before i forget i wanted to drop a note here for future users.
and heres a scrubbed example of what the URL post is from slack (when used in a View Modal). note the type is
block_suggestion
and its sent as a url encoded params (Form extractor in Axum):