如何通过Slack API设置提醒?

问题描述:

我希望能够创建一个通过API(使用Slack/remind斜线命令可能要么被incoming webhookthe web API消息。如何通过Slack API设置提醒?

当我通过网络API发布消息,然而,命令只是通过像“常规”消息,例如,/remind me in 1 month to follow up with the Boss - 它不会触发实际的提醒。

有没有方法在Slack中以编程方式设置提醒(或更一般地说,使用斜杠命令)?

它看起来就像是刚加入的API:https://api.slack.com/methods/reminders.add

+0

谢谢!最终使用[slacker](https://github.com/os/slacker)如下:'slack.reminders.add(text ='test',time ='today at 4:42 pm')' – mstringer

似乎Slack不支持此功能,因为com mands仅在浏览器或Slack应用程序中输入时才被解释。 您也许可以通过使用网络浏览器自动化工具(如Selenium或类似工具)解决此问题。

+0

有趣的是,你有一个关于链接? – mstringer