private void userTyping(int chat_id, int user_id) { User user = User.getUser(user_id); if (user != null) user.setTyping(chat_id, true); }