Skip to content

psrenergy/SlackAPI.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlackAPI.jl

CI codecov

A minimal and lightweight Julia wrapper for the Slack API

Usage

julia> ] add SlackAPI
using SlackAPI

Context

token = "xoxb-xxxxxxxxxx-xxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"

context = SlackContext(token)

Channel Message

channel = "Cxxxxxxxxxx"
message = "Hello, World!"

SlackAPI.channel_message(context, channel, message)

Is the User Active?

user = "Uxxxxxxxxxx"

is_active = SlackAPI.is_active(context, user)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published