TwitchSendAndPinMessage

Send a chat message and automatically pin it for 20 minutes

Signature

public void TwitchSendAndPinMessage(string message)

Parameters

message
string required

The message to send to chat and pin

Return Type

void

Example

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;
    }
}