get_slack_payload: Get slack payload

Description Usage Arguments Value Examples

View source: R/get_slack_payload.R

Description

A function to return a Slack Block for rich messaging of report status https://api.slack.com/block-kit

Usage

1
get_slack_payload(report_name, report_url,report_updates)

Arguments

report_name

Descriptive name of the report which you are publishing a Slack message about.

report_url

URL to access the report

report_updates

Text string which contains a description of the report being published.

Value

A JSON object describing the UI of a slack message

Examples

1
get_slack_payload("Marketing dashboard","https://www.dashboards.com/marketing_dashboard/","Fancy new colors have been added")

gottalottasoul/RiHana documentation built on Aug. 7, 2020, 3:22 p.m.