deleteMessage
Twitch API: Delete Chat Messages
Removes a single chat message or all chat messages from the broadcaster's chat room.
Parameters
broadcasterId
the ID of the broadcaster that owns the chat room to remove messages from.
moderatorId
the ID of the broadcaster or a user that has permission to moderate the broadcaster's chat room. This ID must match the user ID in the user access token.
messageId
the ID of the message to remove. If not specified, the request removes all messages in the broadcaster's chat room.