public bool TwitchClearChatMessages(bool bot = true)
True
true - Clear all messages with bot accountfalse - Clear all messages with broadcaster accountbool
using System;
public class CPHInline
{
public bool Execute()
{
//Clear chat
bool gotCleared = CPH.TwitchClearChatMessages(true);
if(gotCleared){
CPH.SendMessage("Message got cleared successfully!");
}
return true;
}
}