slack-d 0.0.3
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
See https://api.slack.com/methods for a full list of methods offered by the Slack API.
- Registered by Sinisa Susnjar
- 0.0.3 released 10 months ago
- sinisa-susnjar/slack-d
- MIT
- Copyright © 2021, Sinisa Susnjar
- Authors:
- Dependencies:
- none
- Versions:
-
0.0.3 2021-Oct-17 0.0.2 2021-Oct-15 0.0.1 2021-Oct-10 ~main 2022-Feb-09 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
0 downloads total
-
- Score:
- 0.3
- Short URL:
- slack-d.dub.pm