slack-morphism 2.20.0

Slack Morphism is a modern client library for Slack Web/Events API/Socket Mode and Block Kit
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::blocks::SlackBlock;
use crate::SlackMessageContent;

pub trait SlackMessageTemplate {
    fn render_template(&self) -> SlackMessageContent;
}

pub trait SlackBlocksTemplate {
    fn render_template(&self) -> Vec<SlackBlock>;
}