slack-d 0.0.5
Slack API for D
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Slack Web API for D
Example
import std.stdio;
import slack;
void main() {
auto slack = Slack("xoxb-YOUR-BOT-TOKEN-HERE");
auto r = slack.postMessage("Hello from slack-d !");
writeln(r);
}
Implemented methods (so far)
Chat
- https://api.slack.com/methods/chat.postMessage
Conversations
- https://api.slack.com/methods/conversations.list
- https://api.slack.com/methods/conversations.history
TODO's
- Add support for RTM (real-time messaging) API (see: https://api.slack.com/methods/rtm.connect)
See https://api.slack.com/methods for a full list of methods offered by the Slack API.
- Registered by Sinisa Susnjar
- 0.0.5 released 2 years ago
- sinisa-susnjar/slack-d
- MIT
- Copyright © 2022, Sinisa Susnjar
- Authors:
- Dependencies:
- none
- Versions:
-
0.0.8 2024-Mar-15 0.0.7 2024-Mar-13 0.0.6 2023-Jun-03 0.0.5 2022-Sep-05 0.0.4 2022-Sep-05 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
14 downloads total
-
- Score:
- 0.3
- Short URL:
- slack-d.dub.pm