slack_morphism/models/messages/
templates.rs1use crate::blocks::SlackBlock;
2use crate::SlackMessageContent;
3
4pub trait SlackMessageTemplate {
5 fn render_template(&self) -> SlackMessageContent;
6}
7
8pub trait SlackBlocksTemplate {
9 fn render_template(&self) -> Vec<SlackBlock>;
10}