public void TwitchReplyToMessage(string message, string replyId, bool useBot = true, bool fallback = true)
Enter the message contents
Enter the unique ID of the message to reply to
True
true - Send the reply using your Twitch Bot accountfalse - Send the reply using your Twitch Broadcaster accountTrue
true - (If bot bool is set to True), this is the same behaviour as if you had Bot as your preferred account.false - (If bot bool is set to True), it will try to send using only the Bot account, and do nothing if it can't (i.e, not logged in).void
using System;
public class CPHInline
{
public bool Execute()
{
//Get message id to reply to
CPH.TryGetArg("msgId",out string messageId);
//Set message for reply
string message = "This is a test reply.";
//Send reply with bot account
CPH.TwitchReplyToMessage(message, messageId, true, true);
return true;
}
}