From d7ce2c1f6526d9dc11ceb82d9f72e560f4e69cf6 Mon Sep 17 00:00:00 2001 From: David Rousselie Date: Mon, 15 Jul 2024 13:58:11 +0200 Subject: [PATCH] Add `blocks` to message attachment (#282) --- src/models/messages/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/messages/mod.rs b/src/models/messages/mod.rs index 8060c5fb..e86de34e 100644 --- a/src/models/messages/mod.rs +++ b/src/models/messages/mod.rs @@ -115,6 +115,7 @@ pub struct SlackMessageAttachment { pub fields: Option>, pub mrkdwn_in: Option>, pub text: Option, + pub blocks: Option>, } // This model is not well typed since Slack message attachments are deprecated