Support attachments in chat_post_message
jerith opened this issue · comments
Slack messages can have attachments, as documented at https://api.slack.com/docs/message-attachments.
Adding attachment support would probably involve creating a new attachment
type and adding an optional parameter of type attachment list
to Slacko.chat_post_message
.
I have a somewhat hacky attempt at an implementation over here: jerith/slacko@ocaml-4.03...post-attachment
It builds on top of #12, so it doesn't make much sense to open a pull request before that is resolved. :-)
Yep, let's get #12 merged first, otherwise GitHub won't even let me write any review comments on this.
Fixed in #13.