SlackAPI.jl

Author psrenergy
Popularity
0 Stars
Updated Last
7 Months Ago
Started In
May 2023

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)

Used By Packages

No packages found.