BlakeWilliams / Elixir-Slack

Slack real time messaging and web API client in Elixir
MIT License
675 stars 182 forks source link

Chat.schedule_message #205

Closed nathany closed 4 years ago

nathany commented 5 years ago

Hi. I'm not seeing support for scheduling messages. Is it there and just not documented? What would it take to add this?

https://api.slack.com/methods/chat.scheduleMessage

nathany commented 5 years ago

If implemented, would the API take a Unix timestamp like the Slack endpoint, or would it take a DateTime and do the to_unix conversion?

nathany commented 5 years ago

Do these JSON files come from somewhere or are they being crafted based on the documentation?

What else needs to be done to add a function?

acconrad commented 4 years ago

@nathany the way I've done it is to add those JSON files directly into that folder. The API is pretty out of date, lots of stuff needs to be added in there or updated

acconrad commented 4 years ago

@nathany see #212 as to how I did it - you can do the exact same for this and just create a file chat.scheduleMessage.json