The content of the reminder
When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex. "in 15 minutes," or "every Thursday")
async
(params, auths) => {
}
//See the API docs at: https://api.slack.com/methods/reminders.add
const data = {
text: params.text,
time: params.time,
user: params.user,
}
const config = {
method: "post",
url: `https://slack.com/api/reminders.add`,
headers: {
Authorization: `Bearer ${auths.slack.oauth_access_token}`,
},
params: data
}
return await require("@pipedreamhq/platform").axios(this, config)