slack 1.0.3 copy "slack: ^1.0.3" to clipboard
slack: ^1.0.3 copied to clipboard

outdatedDart 1 only

Package for accessing and utilizing the Slack webhook API. Currently only works for 'incoming webhooks'

dart-slack #

Dartlang interface to the Slack Webhook API

import 'package:slack/slack_html' as slack;
// or 
import 'package:slack/slack_io' as slack;

main() {
  slack.Message message = new slack.Message()
    ..username = 'Foo-Bot'
    ..text = 'bar-text';
  
  slack.token = 'my-token';
  slack.team = 'team'
  
  slack.send(message);
}
0
likes
0
pub points
9%
popularity

Publisher

unverified uploader

Package for accessing and utilizing the Slack webhook API. Currently only works for 'incoming webhooks'

Homepage

License

unknown (LICENSE)

Dependencies

http

More

Packages that depend on slack