public async Task RouteTextMessage(Message message) { var chatId = message.Chat.Id; switch (message.Text) { case "/start": await _userMessageService.RequestSubscribe(chatId, message.From.Username); break; case "/bye": await _userMessageService.Unsubscribe(chatId, message.From.Username); break; case "Отправить код ещё раз": await _userMessageService.ResetCode(chatId, message.From.Username); break; case "/get_users": await _adminMessageService.GetUsers(chatId); break; case "/start_sending": await _adminMessageService.StartSending(chatId); break; case "/stop_sending": await _adminMessageService.StopSending(chatId); break; default: await _userMessageService.ReceiveTextMessage(chatId, message.Text, message.From.Username); break; } }