Skip to content

Commit

Permalink
SlackMessageAttachment: add text field (#211)
Browse files Browse the repository at this point in the history
Co-authored-by: pratham <pratham.k@subcom.tech>
  • Loading branch information
git-bruh and pratham authored Sep 13, 2023
1 parent b418923 commit 295c6c4
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 @@ -114,6 +114,7 @@ pub struct SlackMessageAttachment {
pub title: Option<String>,
pub fields: Option<Vec<SlackMessageAttachmentFieldObject>>,
pub mrkdwn_in: Option<Vec<String>>,
pub text: Option<String>,
}

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

0 comments on commit 295c6c4

Please sign in to comment.