How to access Telegram message metadata from Botpr...
# 🤝help
g
My bot is integrated with Telegram. Sometimes users reply to messages. I'd like to be able to know which message they replied to. This information is available in terminal logs with a key "reply_to message" (if you send logs from log card), so Botpress definitely receives it. However I can't figure out how to access it. Could you advice me how can I do it? I checked {{event.payload}}, but there is only "text" key there attached the image from logs https://cdn.discordapp.com/attachments/1249045672158695455/1249045672355692606/Screenshot_2024-06-08_at_19.28.26.png?ex=6665dfee&is=66648e6e&hm=a893c525f179442edd79b8fe38ca80bed34c07bb6dd8e9adcf8e8f17a64e43ca&
l
I have the same problem, some replies are not handled in Botpress
g
I'm quite sure there is a way to access it because it is clear that botpress receives data from Telegram about what message was replied
l
Please help as I am unable to, I use telegram API to send a button and the response of that button was received in Botpress but Botpress does not give a handle to this response @famous-jewelry-85388 would you know
g
sure I'll tag you when I figure out the answer
Love your idea with Versalence, by the way. Messenger channels which replace apps is brilliant. Do people like it?
by the way, buttons work natively in Telegram, you don't need Api, just normal botpress integration
l
I know, In my case the bot is acting as an entry gate into the group. And the admin has to approve the user entry. So the bot sends a private message (not in the group) to the admin user. Once the admin approves the request, the bot allows user entry into the group. Since there is three way comms, I have to use API as bot is interacting with a user seeking approval to the group and also it has to interact with the admin
g
did you try to render carousel in Telegram? Does it work for you?
l
No, i haven't
Indeed, slow and steady, growing customer base
s
Hey guys, did you manage to find a solution for this? I'm having the same issue
92 Views