TwitchSendAndPinMessage

Send a chat message and automatically pin it for 20 minutes

public void TwitchSendAndPinMessage(string message)
message
string required

The message to send to chat and pin

void
using System;
public class CPHInline
{
    public bool Execute()
    {
        // set message for chat
        string message = "This is a pinned chat message";

        // Send the message to chat, and automatically pin it
        CPH.TwitchSendAndPinMessage(message); 
        return true;
    }
}