Learn R Programming

slackr (version 3.3.1)

slackr_delete: 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.