slack-bk 0.1.1

Slack BlockKit API abstraction for Rust
Documentation
{
    "type": "modal",
    "submit": {
        "type": "plain_text",
        "text": "Submit",
        "emoji": true
    },
    "close": {
        "type": "plain_text",
        "text": "Cancel",
        "emoji": true
    },
    "title": {
        "type": "plain_text",
        "text": "App menu",
        "emoji": true
    },
    "blocks": [
        {
            "type": "section",
            "text": {
                "type": "mrkdwn",
                "text": "*Hi <fakelink.toUser.com|@David>!* Here's how I can help you:"
            }
        },
        {
            "type": "divider"
        },
        {
            "type": "section",
            "text": {
                "type": "mrkdwn",
                "text": ":calendar: *Create event*\nCreate a new event"
            },
            "accessory": {
                "type": "button",
                "action_id": "foo",
                "text": {
                    "type": "plain_text",
                    "text": "Create event",
                    "emoji": true
                },
                "style": "primary",
                "value": "click_me_123"
            }
        },
        {
            "type": "section",
            "text": {
                "type": "mrkdwn",
                "text": ":clipboard: *List of events*\nChoose from different event lists"
            },
            "accessory": {
                "type": "static_select",
                "action_id": "foo",
                "placeholder": {
                    "type": "plain_text",
                    "text": "Choose list",
                    "emoji": true
                },
                "options": [
                    {
                        "text": {
                            "type": "plain_text",
                            "text": "My events",
                            "emoji": true
                        },
                        "value": "value-0"
                    },
                    {
                        "text": {
                            "type": "plain_text",
                            "text": "All events",
                            "emoji": true
                        },
                        "value": "value-1"
                    },
                    {
                        "text": {
                            "type": "plain_text",
                            "text": "Event invites",
                            "emoji": true
                        },
                        "value": "value-1"
                    }
                ]
            }
        },
        {
            "type": "section",
            "text": {
                "type": "mrkdwn",
                "text": ":gear: *Settings*\nManage your notifications and team settings"
            },
            "accessory": {
                "type": "static_select",
                "action_id": "foo",
                "placeholder": {
                    "type": "plain_text",
                    "text": "Edit settings",
                    "emoji": true
                },
                "options": [
                    {
                        "text": {
                            "type": "plain_text",
                            "text": "Notifications",
                            "emoji": true
                        },
                        "value": "value-0"
                    },
                    {
                        "text": {
                            "type": "plain_text",
                            "text": "Team settings",
                            "emoji": true
                        },
                        "value": "value-1"
                    }
                ]
            }
        },
        {
            "type": "actions",
            "elements": [
                {
                    "type": "button",
                    "action_id": "foo",
                    "text": {
                        "type": "plain_text",
                        "text": "Send feedback",
                        "emoji": true
                    },
                    "value": "click_me_123"
                },
                {
                    "type": "button",
                    "action_id": "foo",
                    "text": {
                        "type": "plain_text",
                        "text": "FAQs",
                        "emoji": true
                    },
                    "value": "click_me_123"
                }
            ]
        }
    ]
}