slackr_delete function

slackr_delete

slackr_delete

Deletes the specified number of messages from the channel

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.