Skip to content

Commit

Permalink
Add blocks to message attachment (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
dax authored Jul 15, 2024
1 parent 3c9655a commit d7ce2c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/models/messages/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ pub struct SlackMessageAttachment {
pub fields: Option<Vec<SlackMessageAttachmentFieldObject>>,
pub mrkdwn_in: Option<Vec<String>>,
pub text: Option<String>,
pub blocks: Option<Vec<SlackBlock>>,
}

// This model is not well typed since Slack message attachments are deprecated
Expand Down

0 comments on commit d7ce2c1

Please sign in to comment.