KickReplyToMessage

Send a reply to a specific Kick chat message

public void KickReplyToMessage(string message, string replyId, bool useBot = true, bool fallback = true)
message
string required

Enter the message contents

replyId
string required

Enter the unique ID of the message to reply to

useBot
bool
  • true - Send the reply using your Kick Bot account
  • false - Send the reply using your Kick Broadcaster account
fallback
bool
  • true - (If bot bool is set to True), this is the same behavior 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("messageId", out string messageId);

        //Set message for reply
        string message = "This is a test reply.";

        //Send reply with bot account
        CPH.KickReplyToMessage(message, messageId, true, true); 
        return true;
    }
}