public void Handle(TLEncryptedChatBase encryptedChat)
 {
     if (encryptedChat != null &&
         Chat != null &&
         encryptedChat.Id.Value == Chat.Id.Value)
     {
         Chat = encryptedChat;
         if (SecretChatDebug != null)
         {
             SecretChatDebug.UpdateChat(encryptedChat);
         }
         NotifyOfPropertyChange(() => AppBarCommandString);
         NotifyOfPropertyChange(() => IsAppBarCommandVisible);
         NotifyOfPropertyChange(() => IsApplicationBarVisible);
     }
 }
 public void Handle(TLEncryptedChatBase encryptedChat)
 {
     if (encryptedChat != null &&
         Chat != null &&
         encryptedChat.Id.Value == Chat.Id.Value)
     {
         Chat = encryptedChat;
         if (SecretChatDebug != null)
         {
             SecretChatDebug.UpdateChat(encryptedChat);
         }
         NotifyOfPropertyChange(() => InputVisibility);
         NotifyOfPropertyChange(() => WaitingBarVisibility);
         NotifyOfPropertyChange(() => DeleteButtonVisibility);
         NotifyOfPropertyChange(() => IsApplicationBarVisible);
     }
 }