Send Cloudflared URL to Telegram

i want cut lines from argo-tunnel when running (cloudflared) and wanted to send it from telegram api like this:
cloudflared --url ssh://localhost:22 | grep -Eo '(http|https)://[^/"]+ ' | curl -d chat_id=mychatid -d text="$blabla.domain.com" https://api.telegram.org/bot(telegramapi)/sendMessage

But its not working. I cant get url when cloudflared running .Telegram side works when i trying manualy