如何通过Slack API设置提醒?
问题描述:
我希望能够创建一个通过API(使用Slack的/remind
斜线命令可能要么被incoming webhook或the web API消息。如何通过Slack API设置提醒?
当我通过网络API发布消息,然而,命令只是通过像“常规”消息,例如,/remind me in 1 month to follow up with the Boss
- 它不会触发实际的提醒。
有没有方法在Slack中以编程方式设置提醒(或更一般地说,使用斜杠命令)?
谢谢!最终使用[slacker](https://github.com/os/slacker)如下:'slack.reminders.add(text ='test',time ='today at 4:42 pm')' – mstringer