private bool NotificationNeeded(string version, BranchChannel channel)
        {
            if (channel == BranchChannel.Stable)
            {
                return(StableNotificationNeeded(version));
            }
            if (channel == BranchChannel.Testing)
            {
                return(TestingNotificationNeeded(version));
            }
            if (channel == BranchChannel.LongTerm)
            {
                return(LongTermNotificationNeeded(version));
            }
            if (channel == BranchChannel.Development)
            {
                return(DevNotificationNeeded(version));
            }

            return(false);
        }
        private string Decrypt(BranchChannel channel)
        {
            HashDatAss ass = new HashDatAss();

            if (channel == BranchChannel.Development)
            {
                return(ass.GetDecrypted(RunningSettings.DevWebhook));
            }
            if (channel == BranchChannel.Stable)
            {
                return(ass.GetDecrypted(RunningSettings.StableWebhook));
            }
            if (channel == BranchChannel.Testing)
            {
                return(ass.GetDecrypted(RunningSettings.TestingWebhook));
            }
            if (channel == BranchChannel.LongTerm)
            {
                return(ass.GetDecrypted(RunningSettings.LongTermWebhook));
            }

            return(null); // Log to Logger class for failure
        }