private void CheckDisabledFeature(TLObject with, string pmFeatureKey, string chatFeatureKey, string bigChatFeatureKey, System.Action callback) { _cacheService.CheckDisabledFeature( with, pmFeatureKey, chatFeatureKey, bigChatFeatureKey, () => Execute.BeginOnUIThread(callback.SafeInvoke), disabledFeature => Execute.BeginOnUIThread(() => MessageBox.Show(disabledFeature.Description.ToString(), AppResources.AppName, MessageBoxButton.OK))); }