package documentation
Undocumented
Module | llnw |
No module docstring; 1/4 variable, 0/1 function documented |
From __init__.py
:
Function | get |
recursively list channels from slack until we find one matching given channel_name, and returns channel id. |
Function | post |
Post message to slack channel via http request to slack api |
Function | slash |
Undocumented |
Post message to slack channel via http request to slack api
Parameters | |
message:str | message body. should be url encoded if special characters. |
channel:str | channel to post message to. |
Raises | |
SlackRequestError | Channel not found |
recursively list channels from slack until we find one matching given channel_name, and returns channel id.
Parameters | |
channelstr | name of channel to find next (str, optional): cursor id, used by recursion to get next page of channels. Defaults to None. |
next:str | Undocumented |
Returns | |
str | channel id |
Raises | |
SlackRequestError | Channel not found. |