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.
- 0.0.3 released 3 years ago
- sinisa-susnjar/slack-d
- MIT
- Copyright © 2021, 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
-
4 downloads this month
-
14 downloads total
-
- Score:
- 0.4
- Short URL:
- slack-d.dub.pm