Channels
Messages

Purge all messages in personal notes

Deletes every message in the caller's personal notes channel. Only allowed on the authenticated user's DM_PERSONAL_NOTES channel. Returns the total number of deleted messages.

post/channels/{channel_id}/messages/purge

Path parameters

string snowflake required
OR
integer required

The ID of the channel

Response

Success

deleted_countinteger required

Changes