TwitchGetVips

Get a list of all users currently assigned as VIPs in the broadcaster's Twitch channel.

public List<TwitchUserInfo> TwitchGetVips()

No parameters.

List<Streamer.bot.Plugin.Interface.Model.TwitchUserInfo>
using System;
using System.Collections.Generic;

public class CPHInline
{
    public bool Execute()
    {
        //get the list of VIPS for the channel
        List<TwitchUserInfo> vips = CPH.TwitchGetVips(); 
        //iterate through the list and log the username and user id of each VIP
        foreach (TwitchUserInfo vip in vips)
        {
            CPH.LogInfo($"VIP: {vip.UserName} ({vip.UserId})");
        }

        return true;
    }
}