According to researches by the adsmember team
टेलीग्राम बॉट ट्यूटोरियल – 6 – नीचे टेलीग्राम बॉट कोड के साथ गूगल स्प्रैडशीट में फोटो और वीडियो अपलोड करना। testPhoto फ़ंक्शन में स्वयं के डेटा के साथ परीक्षण करना न भूलें और अपने स्वयं के doPost(e) फ़ंक्शन में एक चेक जोड़ें (नीचे दिखाई नहीं दे रहा है) फ़ंक्शन testPhoto() { var सामग्री = {} // इसे बदलें! एक फोटो भेजें और फिर इसे अपनी सामग्री प्रक्रिया फोटो (सामग्री) से बदलें; } फंक्शन प्रोसेस फोटो (कंटेंट) { var fileId = content.message.photo[contents.message.photo.length – 1][“file_id”]; वर यूआरएल = ‘ + टोकन + ‘/’ + ‘getFile?file_id=’ + fileId; वर प्रतिक्रिया = UrlFetchApp.fetch (यूआरएल); Logger.log (response.getContentText ()); प्रतिक्रिया = JSON.parse (response.getContentText ()); वर urlPhoto = ‘ + टोकन + ‘/’ + response.result[“file_path”]; लकड़हारा.लॉग (urlPhoto); var ssId = ‘replace_this_with_yourspreadsheet_id’; वर एसएस = स्प्रेडशीटऐप.ओपनबीआईडी (एसएसआईडी); ss.appendRow([new Date(),urlPhoto]); sendText(contents.message.from.id,”आपका फोटो अपलोड कर दिया गया है।”); }
source
Sometimes i have to upload 4 photos togther? Then what to do
Thanks for the video, however, can we get msg sender Lat long.
Hi Wim, I would like to take a link of google drive, which a user uploaded via telegram bot. Please help me with your code available. I run several times but it did not deployed yet.
Thanks for your help!
nice videos bro
Hi, I would like to ask if there is any way to update the URL of an uploaded Ami BOT image using some formula?
Thanks!!
Hi Wim, nice to see your still active. Question: it seems that the webhook (deployment) no longer has access option "anyone, even anonymous", so telegram no longer works. Did you find a workaround? Thanks.
You're alive!