https://discord.gg/botpress logo
Invalid address when receiving file in telegram
# 👀feature-requests
b
I use a file capture card i noticed the first part of the url is wrong I get it "https//api.telegram.org/file/ххх..." instead of this "https://api.telegram.org/file/ххх...." Also i noticed that even if i fix it i get this "{"ok":false,"error_code":404,"description":"Not Found"}" this is what i want to do: get the file and send it to my google drive but now i cant get a working direct url to the file https://cdn.discordapp.com/attachments/1305435719438962718/1305435719572914277/image.png?ex=67330541&is=6731b3c1&hm=ba00248741582e2f1c2ac27ee19560fca14db2ad074798aa789a4bf2d7b59c81&
via direct api request without integration everything works and I get the file
I found the reason! problem with processing ":" it seems that the integration does not output them to the url and therefore the url does not work here is the correct example https://api.telegram.org/file/bot8154436705:AAHPJorovZcuPTRiPePwfd0NncbspaR5111/documents/file_3.apkg here is what the integration outputs https://api.telegram.org/file/bot8154436705AAHPJorovZcuPTRiPePwfd0NncbspaR5111/documents/file_3.apkg
the reason is clear, I expect that the guys will make corrections to the integration for telegram And perhaps add a callback_query processing function example { "update_id": 397413262, "callback_query": { "id": "547804131639356506", "from": { "id": 6569