meilcli/slack upload file

upload file to slack

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
slack_tokenSlack token, must has files:write permissionyes
slack_api_urlCustom slack api url
channel_idSlack channel id.
contentFile contents via a POST variable. If omitting this parameter, you must provide a file.
file_pathFile contents via multipart/form-data. If omitting this parameter, you must submit content.
file_path_follow_symbolic_linksIndicates whether to follow symbolic linkstrue
file_nameFilename of file.
file_typeA file type identifier.
if_no_files_foundfile not founding options: warn, error or ignore. alike actions/upload-artifact
initial_commentThe message text introducing the file in specified channels.
thread_tsProvide another message`s ts value to upload this file as a reply. Never use a reply`s ts value; use its parent instead.
titleTitle of file.
retriesmax API retry count. default retries is 3
delete_file_ids_before_uploadfile deletion before upload. comma separeted file ids. this argument is purpose for previous uploaded file replacement.
namedescription
responsethe api response
uploaded_file_idscomma separated uploaded file ids