Closed jerith closed 7 years ago
I have a somewhat hacky attempt at an implementation over here: https://github.com/jerith/slacko/compare/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.
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 typeattachment list
toSlacko.chat_post_message
.