package documentation

Undocumented

Module llnw_slack No module docstring; 1/4 variable, 0/1 function documented

From __init__.py:

Function get_channel_by_name recursively list channels from slack until we find one matching given channel_name, and returns channel id.
Function post_to_channel Post message to slack channel via http request to slack api
Function slash_command_interface Undocumented
def post_to_channel(message, channel):

Post message to slack channel via http request to slack api

Parameters
message:strmessage body. should be url encoded if special characters.
channel:strchannel to post message to.
Raises
SlackRequestErrorChannel not found
def slash_command_interface(argparse_parser):

Undocumented

def get_channel_by_name(channel_name, next=None):

recursively list channels from slack until we find one matching given channel_name, and returns channel id.

Parameters
channel_name:strname of channel to find next (str, optional): cursor id, used by recursion to get next page of channels. Defaults to None.
next:strUndocumented
Returns
strchannel id
Raises
SlackRequestErrorChannel not found.