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))); } }
public void Handle(UpdateUserChatAction update) { if (update.ChatId == _chat?.Id) { BeginOnUIThread(() => Delegate?.UpdateChatActions(_chat, CacheService.GetChatActions(update.ChatId))); } }
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)); } } }