https://discord.gg/botpress logo
Telegram “Unsupported message type” when receiving...
# 🤝help
r
Hey everyone I’m running into an issue with the Telegram channel on Botpress and wanted to check if anyone else has experienced this. Error:
Copy code
[telegram] Assertion Error: Unsupported message type from Telegram: {"update_id":433202787,
"message":{"message_id":89,"from":{"id":...}}}
Context: * The error seems to occur when the user sends something that’s not plain text (e.g. contact share via request_contact, maybe other message types too). * Standard text messages work fine. * I suspect it’s related to how Botpress parses or normalizes certain Telegram payloads. What I’ve tried: * Logging the event object to inspect payload * Handling event.payload.text vs event.payload.contact * But the error seems to happen before my flow even processes it Questions: 1. Does Botpress Telegram integration support contact messages (request_contact)? 2. Is there a list of supported Telegram message types? 3. Any workaround to safely handle unsupported payloads (event.payload.contact)? Would really appreciate any insight or pointers