Use with caution! Note that users can only delete their own messages. If you try to delete another user's message you will get a "Cant Delete Message" message from the Slack API.
Arguments
- msg
Data frame. Output of
slack_messagescontaining message to remove. Should contain columns "channel" and "ts". Note that only the most recent message will be removed.- channel
Character. Channel Name. Not required if channel_id supplied.
- channel_id
Character. Channel id.
- ts
Numeric. Timestamp to identify message to remove (if no
msg)
