public async Task <bool> Handle(BindAccountCommand request, CancellationToken cancellationToken) { Guid authToken = await _botRepository.RegisterLink(request.Messenger, request.UserId); string link = _appConfig.BindAccountUrl + authToken; var destination = new Destination { Messenger = request.Messenger, ChannelId = request.ChannelId, UserId = request.UserId }; await _messageSender.SendAsync(destination, new BotResponse { Text = $"Перейдите по ссылке {link} для регистрации" }); return(true); }