public static StreamingPlatformAction CreateRaidAction(string channelName)
        {
            StreamingPlatformAction action = new StreamingPlatformAction(StreamingPlatformActionType.Raid);

            action.HostChannelName = channelName;
            return(action);
        }
        public static StreamingPlatformAction CreateRunAdAction(int length)
        {
            StreamingPlatformAction action = new StreamingPlatformAction(StreamingPlatformActionType.RunAd);

            action.AdLength = length;
            return(action);
        }
        public static StreamingPlatformAction CreatePollAction(string question, uint length, IEnumerable <string> answers, CommandBase command)
        {
            StreamingPlatformAction action = new StreamingPlatformAction(StreamingPlatformActionType.Poll);

            action.PollQuestion = question;
            action.PollLength   = length;
            action.PollAnswers  = new List <string>(answers);
            action.CommandID    = (command != null) ? command.ID : Guid.Empty;
            return(action);
        }