Messages with link in Telegram
# 🤝help
a
Hey, @famous-needle-62969 ! In order to achieve that, you would need to change the message type from "text" to "markdown" in the "before outgoing message" hook.
Copy code
if (event.integration === 'telegram' && outgoingEvent.type === 'text') {
    outgoingEvent.type = 'markdown'
    outgoingEvent.payload.type = 'markdown'
    outgoingEvent.payload.markdown = outgoingEvent.payload.text
  }
f
Hi, thanks @User , but with the solution you have proposed it doesn't seem to work well. In fact there are messages that do not appear to me in Telegram and the conversation does not continue.
I have been looking at the Logs and I get errors like 'An unexpected error occurred when trying to process your request', but not much more information about what might be going on
6 Views