Ejemplo n.º 1
0
 public void Handle(UpdateUserChatAction update)
 {
     if (update.ChatId == _chat?.Id && update.MessageThreadId == _threadId && (_type == DialogType.History || _type == DialogType.Thread))
     {
         BeginOnUIThread(() => Delegate?.UpdateChatActions(_chat, CacheService.GetChatActions(update.ChatId)));
     }
 }
Ejemplo n.º 2
0
 public void Handle(UpdateUserChatAction update)
 {
     if (update.ChatId == _chat?.Id)
     {
         BeginOnUIThread(() => Delegate?.UpdateChatActions(_chat, CacheService.GetChatActions(update.ChatId)));
     }
 }
Ejemplo n.º 3
0
 public void Handle(UpdateUserChatAction update)
 {
     if (update.ChatId == _chat?.Id)
     {
         if (update.Action is ChatActionCancel)
         {
             BeginOnUIThread(() => InputTypingManager.RemoveTypingUser(update.UserId));
         }
         else
         {
             BeginOnUIThread(() => InputTypingManager.AddTypingUser(update.UserId, update.Action));
         }
     }
 }