slackr_delete: slackr_delete

View source: R/slackr_delete.R

slackr_deleteR Documentation

slackr_delete

Description

Deletes the specified number of messages from the channel

Usage

slackr_delete(
  count,
  channel = Sys.getenv("SLACK_CHANNEL"),
  token = Sys.getenv("SLACK_TOKEN")
)

Arguments

count

The number of messages to delete.

channel

Channel, private group, or IM channel to delete messages from. Can be an encoded ID, or a name. See the chat.postMessage endpoint documentation for details.

token

Authentication token bearing required scopes.


hrbrmstr/slackr documentation built on Nov. 10, 2023, 5:32 p.m.