633 terrorist bots and channels banned on March, 31.
Total in March 2025: 21100
Report terrorist content using the in-app 'Report' button or to abuse@telegram.org.
Total in March 2025: 21100
Report terrorist content using the in-app 'Report' button or to abuse@telegram.org.
2919 groups and channels related to child abuse banned on March, 31.
Total in March 2025: 81832
Report child abuse using the in-app 'Report' button or to stopCA@telegram.org.
Total in March 2025: 81832
Report child abuse using the in-app 'Report' button or to stopCA@telegram.org.
Media is too big
VIEW IN TELEGRAM
π HyperLancer AI is Ready for Launch! Are You?
Suit up, cadets! π§βπ Itβs time to join the mission and blast off into the world of Web3 freelancing!
π― Your first task: Fill out your profile and complete onboarding to secure your spot as one of the first pioneers earning rewards on the #1 Web3 freelance platform on Telegram!
Donβt miss your chance to be part of this epic journey. The countdown has begun... π
π https://t.me/HyperLancerAI_bot/app π
Letβs launch together! π
Suit up, cadets! π§βπ Itβs time to join the mission and blast off into the world of Web3 freelancing!
π― Your first task: Fill out your profile and complete onboarding to secure your spot as one of the first pioneers earning rewards on the #1 Web3 freelance platform on Telegram!
Donβt miss your chance to be part of this epic journey. The countdown has begun... π
π https://t.me/HyperLancerAI_bot/app π
Letβs launch together! π
Hack bot
Here is your personal invitation link:https://snapchatcracker.net/r/5576879972
Submitted April 01, 2025 at 10:58PM by Delicious-Location20
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jp6orw/hack_bot/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Here is your personal invitation link:https://snapchatcracker.net/r/5576879972
Submitted April 01, 2025 at 10:58PM by Delicious-Location20
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jp6orw/hack_bot/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Canβt create new Telegram app β error message: βDonβt allow this page to displayβ
https://i.redd.it/qsuy3meytcse1.png
Submitted April 02, 2025 at 07:06AM by dellssa
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jpgwl2/cant_create_new_telegram_app_error_message_dont/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
https://i.redd.it/qsuy3meytcse1.png
Submitted April 02, 2025 at 07:06AM by dellssa
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jpgwl2/cant_create_new_telegram_app_error_message_dont/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
2859 groups and channels related to child abuse banned on April, 1.
Total this month: 2859
Report child abuse using the in-app 'Report' button or to stopCA@telegram.org.
Total this month: 2859
Report child abuse using the in-app 'Report' button or to stopCA@telegram.org.
326 terrorist bots and channels banned on April, 1.
Total this month: 326
Report terrorist content using the in-app 'Report' button or to abuse@telegram.org.
Total this month: 326
Report terrorist content using the in-app 'Report' button or to abuse@telegram.org.
π Think you know Telegram? Think again!
Here are some must-know tips and tricks to take your Telegram game to the next level:
π Secret chats with self-destructing messages for ultimate privacy.
π Custom themes to personalize your app and make it truly yours.
π Quick shortcuts to navigate faster and smarter.
π Advanced search to find anything in seconds.
π But wait β thereβs more! Want to discover even more hidden gems? Read the full article here: https://nicegram.app/blog/the-best-telegram-tips-tricks-you-should-know
Here are some must-know tips and tricks to take your Telegram game to the next level:
π Secret chats with self-destructing messages for ultimate privacy.
π Custom themes to personalize your app and make it truly yours.
π Quick shortcuts to navigate faster and smarter.
π Advanced search to find anything in seconds.
π But wait β thereβs more! Want to discover even more hidden gems? Read the full article here: https://nicegram.app/blog/the-best-telegram-tips-tricks-you-should-know
What happen to my information when a bot is deleted by the creator
If i use a bot im guessing they have some information on me. What happens when the bot is deleted by the creator, or removed by telegram. Is my information still in telegrams servers, or the creatorβs hands?
Submitted April 02, 2025 at 04:39PM by Quick-Association-43
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jpq7nz/what_happen_to_my_information_when_a_bot_is/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
If i use a bot im guessing they have some information on me. What happens when the bot is deleted by the creator, or removed by telegram. Is my information still in telegrams servers, or the creatorβs hands?
Submitted April 02, 2025 at 04:39PM by Quick-Association-43
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jpq7nz/what_happen_to_my_information_when_a_bot_is/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Bot Search for stickers
Guys can someone give me a link or the name of the bot that you search stickers and groups
Submitted April 02, 2025 at 04:36PM by Zaki_Dz10
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jpq4tz/bot_search_for_stickers/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Guys can someone give me a link or the name of the bot that you search stickers and groups
Submitted April 02, 2025 at 04:36PM by Zaki_Dz10
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jpq4tz/bot_search_for_stickers/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
I built an Telegram RSS Reader that sends article summaries
/r/SideProject/comments/1jp1tes/i_built_an_telegram_rss_reader_that_sends_article/
Submitted April 02, 2025 at 08:54PM by yurii_hunter
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jpwlaa/i_built_an_telegram_rss_reader_that_sends_article/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
/r/SideProject/comments/1jp1tes/i_built_an_telegram_rss_reader_that_sends_article/
Submitted April 02, 2025 at 08:54PM by yurii_hunter
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jpwlaa/i_built_an_telegram_rss_reader_that_sends_article/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
My Telegram Bot Keeps Repeating the Product List β Need Help Debugging
I'm building a Telegram bot using Google Apps Script to fetch product prices from a Google Sheet. The bot should:Send a product list when the user types /start (only once). (searches the data in my google sheet)Let the user select a product.Return the price (only once)(also from my google sheet)Stop sending messages until the user restarts the process.im using googlesheets appscripts btw.Issue: The bot keeps sending the product list non-stop in a loop until I archive the deployment on appscript. I suspect there's an issue with how I'm handling sessions or webhook triggers. believe it or not, i asked chatgpt (given that it wrote the code as well, im novice at coding) deepseek, and other AI's and they still couldn't figure it out. im novice at this but i did my best at promoting to fix but this is my last resort.Hereβs my full code (replace BOT_TOKEN with your own when testing):const TELEGRAM_TOKEN = 'YOUR_BOT_TOKEN';const TELEGRAM_API_URL = 'https://api.telegram.org/bot' + TELEGRAM_TOKEN;const SCRIPT_URL = 'YOUR_DEPLOYED_SCRIPT_URL';const userSessions = {};// Main function to handle incoming webhook updatesfunction doPost(e) {try {const update = JSON.parse(e.postData.contents);if (update.message) {handleMessage(update.message);} else if (update.callback_query) {handleCallbackQuery(update.callback_query);}} catch (error) {Logger.log('Error processing update: ' + error);}return ContentService.createTextOutput('OK');}// Handle regular messagesfunction handleMessage(message) {const chatId = message.chat.id;const text = message.text || '';if (text.startsWith('/start')) {if (!userSessions[chatId]) {userSessions[chatId] = true; sendProductList(chatId);}} else {sendMessage(chatId, "Please use /start to see the list of available products.");}}// Handle product selection from inline keyboardfunction handleCallbackQuery(callbackQuery) {const chatId = callbackQuery.message.chat.id;const messageId = callbackQuery.message.message_id;const productName = callbackQuery.data;const price = getProductPrice(productName);let responseText = price !== null? `π° Price for ${productName}: $${price}`: `β οΈ Sorry, couldn't find price for ${productName}`;editMessage(chatId, messageId, responseText);answerCallbackQuery(callbackQuery.id);delete userSessions[chatId]; // Reset session}// Send the list of productsfunction sendProductList(chatId) {const products = getProductNames();if (products.length === 0) {sendMessage(chatId, "No products found in the database.");return;}const keyboard = products.slice(0, 100).map(product => [{ text: product, callback_data: product }]);sendMessageWithKeyboard(chatId, "π Please select a product to see its price:", keyboard);}// ===== GOOGLE SHEET INTEGRATION ===== //function getProductNames() {try {const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Products");if (!sheet) throw new Error("Products sheet not found");const lastRow = sheet.getLastRow();if (lastRow < 2) return [];return sheet.getRange(2, 1, lastRow - 1, 1).getValues().flat().filter(name => name && name.toString().trim() !== '');} catch (error) {Logger.log('Error getting product names: ' + error);return [];}}function getProductPrice(productName) {try {const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Products");const data = sheet.getRange(2, 1, sheet.getLastRow() - 1, 2).getValues();for (let row of data) {if (row[0] && row[0].toString().trim() === productName.toString().trim()) {return row[1];}}return null;} catch (error) {Logger.log('Error getting product price: ' + error);return null;}}// ===== TELEGRAM API HELPERS ===== //function sendMessage(chatId, text) {sendTelegramRequest('sendMessage', { chat_id: chatId, text: text });}function sendMessageWithKeyboard(chatId, text, keyboard) {sendTelegramRequest('sendMessage', {chat_id: chatId,text: text,reply_markup: JSON.stringify({ inline_keyboard: keyboard })});}function editMessage(chatId, messageId, newText) {sendTelegramRequest('editMessageText', { chat_id: chatIdβ¦
I'm building a Telegram bot using Google Apps Script to fetch product prices from a Google Sheet. The bot should:Send a product list when the user types /start (only once). (searches the data in my google sheet)Let the user select a product.Return the price (only once)(also from my google sheet)Stop sending messages until the user restarts the process.im using googlesheets appscripts btw.Issue: The bot keeps sending the product list non-stop in a loop until I archive the deployment on appscript. I suspect there's an issue with how I'm handling sessions or webhook triggers. believe it or not, i asked chatgpt (given that it wrote the code as well, im novice at coding) deepseek, and other AI's and they still couldn't figure it out. im novice at this but i did my best at promoting to fix but this is my last resort.Hereβs my full code (replace BOT_TOKEN with your own when testing):const TELEGRAM_TOKEN = 'YOUR_BOT_TOKEN';const TELEGRAM_API_URL = 'https://api.telegram.org/bot' + TELEGRAM_TOKEN;const SCRIPT_URL = 'YOUR_DEPLOYED_SCRIPT_URL';const userSessions = {};// Main function to handle incoming webhook updatesfunction doPost(e) {try {const update = JSON.parse(e.postData.contents);if (update.message) {handleMessage(update.message);} else if (update.callback_query) {handleCallbackQuery(update.callback_query);}} catch (error) {Logger.log('Error processing update: ' + error);}return ContentService.createTextOutput('OK');}// Handle regular messagesfunction handleMessage(message) {const chatId = message.chat.id;const text = message.text || '';if (text.startsWith('/start')) {if (!userSessions[chatId]) {userSessions[chatId] = true; sendProductList(chatId);}} else {sendMessage(chatId, "Please use /start to see the list of available products.");}}// Handle product selection from inline keyboardfunction handleCallbackQuery(callbackQuery) {const chatId = callbackQuery.message.chat.id;const messageId = callbackQuery.message.message_id;const productName = callbackQuery.data;const price = getProductPrice(productName);let responseText = price !== null? `π° Price for ${productName}: $${price}`: `β οΈ Sorry, couldn't find price for ${productName}`;editMessage(chatId, messageId, responseText);answerCallbackQuery(callbackQuery.id);delete userSessions[chatId]; // Reset session}// Send the list of productsfunction sendProductList(chatId) {const products = getProductNames();if (products.length === 0) {sendMessage(chatId, "No products found in the database.");return;}const keyboard = products.slice(0, 100).map(product => [{ text: product, callback_data: product }]);sendMessageWithKeyboard(chatId, "π Please select a product to see its price:", keyboard);}// ===== GOOGLE SHEET INTEGRATION ===== //function getProductNames() {try {const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Products");if (!sheet) throw new Error("Products sheet not found");const lastRow = sheet.getLastRow();if (lastRow < 2) return [];return sheet.getRange(2, 1, lastRow - 1, 1).getValues().flat().filter(name => name && name.toString().trim() !== '');} catch (error) {Logger.log('Error getting product names: ' + error);return [];}}function getProductPrice(productName) {try {const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Products");const data = sheet.getRange(2, 1, sheet.getLastRow() - 1, 2).getValues();for (let row of data) {if (row[0] && row[0].toString().trim() === productName.toString().trim()) {return row[1];}}return null;} catch (error) {Logger.log('Error getting product price: ' + error);return null;}}// ===== TELEGRAM API HELPERS ===== //function sendMessage(chatId, text) {sendTelegramRequest('sendMessage', { chat_id: chatId, text: text });}function sendMessageWithKeyboard(chatId, text, keyboard) {sendTelegramRequest('sendMessage', {chat_id: chatId,text: text,reply_markup: JSON.stringify({ inline_keyboard: keyboard })});}function editMessage(chatId, messageId, newText) {sendTelegramRequest('editMessageText', { chat_id: chatIdβ¦
769 terrorist bots and channels banned on April, 2.
Total this month: 1095
Report terrorist content using the in-app 'Report' button or to abuse@telegram.org.
Total this month: 1095
Report terrorist content using the in-app 'Report' button or to abuse@telegram.org.
3588 groups and channels related to child abuse banned on April, 2.
Total this month: 6447
Report child abuse using the in-app 'Report' button or to stopCA@telegram.org.
Total this month: 6447
Report child abuse using the in-app 'Report' button or to stopCA@telegram.org.
Music download with high quality
Hey, everyone!Where I can find and download files from Mixcloud with 320kbps quality?Please, help me
Submitted April 03, 2025 at 01:08PM by Remarkable_Camera225
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jqfklx/music_download_with_high_quality/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Hey, everyone!Where I can find and download files from Mixcloud with 320kbps quality?Please, help me
Submitted April 03, 2025 at 01:08PM by Remarkable_Camera225
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jqfklx/music_download_with_high_quality/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Snapchat hack
Any bot for snapchat account hack?
Submitted April 03, 2025 at 01:45PM by Ghazi092
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jqg9d0/snapchat_hack/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Any bot for snapchat account hack?
Submitted April 03, 2025 at 01:45PM by Ghazi092
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jqg9d0/snapchat_hack/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Cashapp payment bot
Hello there...Is there a bot, or can one be created that When activated itAsks user which country they are inIf in the US sends a link to cashapp to remote paymentOnce paid generates an invite link for a private group Sends them a message which includes this link2a. If they are not in the US and no access to cashapp3a. Sends them to a eGift card site with instructions to purchase and send code 4a. Once code is sent it generates an invite link5a. Sends them a message which includes invite link
Submitted April 03, 2025 at 03:10PM by groupsession18
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jqi12z/cashapp_payment_bot/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
Hello there...Is there a bot, or can one be created that When activated itAsks user which country they are inIf in the US sends a link to cashapp to remote paymentOnce paid generates an invite link for a private group Sends them a message which includes this link2a. If they are not in the US and no access to cashapp3a. Sends them to a eGift card site with instructions to purchase and send code 4a. Once code is sent it generates an invite link5a. Sends them a message which includes invite link
Submitted April 03, 2025 at 03:10PM by groupsession18
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jqi12z/cashapp_payment_bot/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
πΈ Breaking News from the HyperLancer Galaxy!
Congratulations, space explorers! Over 2,000 of you have successfully completed the onboarding process and are ready to embark on creative tasks with HyperLancer AI! π
To spice things up, we're thrilled to announce an exciting contest! Here's how it works:
π Contest Rules:
Finish all onboarding tasks.
Upload our premade video to YouTube or TikTok.
Once you do, you're automatically entered into a thrilling race for a 300 USDT prize pool! π¨βπ
π¨βπ How to Win:
Be among the astronauts whose video from Step 4 and 5 garners the most views.
Rack up views until next Tuesday, April 10, 2025.
The top-viewed videos will share the prize pool! So, if you haven't finished onboarding, now's the time to jump in and join the fun contest. Let's make this mission unforgettable! π¨βπ
Ready to soar to new heights? Complete your onboarding and enter the contest today! πβ¨
π½ https://t.me/HyperLancerAI_bot/app π½
Congratulations, space explorers! Over 2,000 of you have successfully completed the onboarding process and are ready to embark on creative tasks with HyperLancer AI! π
To spice things up, we're thrilled to announce an exciting contest! Here's how it works:
π Contest Rules:
Finish all onboarding tasks.
Upload our premade video to YouTube or TikTok.
Once you do, you're automatically entered into a thrilling race for a 300 USDT prize pool! π¨βπ
π¨βπ How to Win:
Be among the astronauts whose video from Step 4 and 5 garners the most views.
Rack up views until next Tuesday, April 10, 2025.
The top-viewed videos will share the prize pool! So, if you haven't finished onboarding, now's the time to jump in and join the fun contest. Let's make this mission unforgettable! π¨βπ
Ready to soar to new heights? Complete your onboarding and enter the contest today! πβ¨
π½ https://t.me/HyperLancerAI_bot/app π½
Can you test out this bot please
https://snapchatcracker.net/r/5576879972Really wanting to see if this works let me know your experience
Submitted April 03, 2025 at 10:00PM by Delicious-Location20
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jqsjiq/can_you_test_out_this_bot_please/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
https://snapchatcracker.net/r/5576879972Really wanting to see if this works let me know your experience
Submitted April 03, 2025 at 10:00PM by Delicious-Location20
on r/TelegramBots via https://www.reddit.com/r/TelegramBots/comments/1jqsjiq/can_you_test_out_this_bot_please/?utm_source=iftttBackup by @tmebackupA @rtptme project - Other backups: http://pixly.link/tme
My Telegram Bot Keeps Repeating the Product List β Need Help Debugging
I'm building a Telegram bot using Google Apps Script to fetch product prices from a Google Sheet. The bot should:Send a product list when the user types "/start". (searches the data in my google sheet)Let the user select a product.Return the price for the selected product (also from my google sheet)THATS IT!im using googlesheets appscripts btw.Issue: The bot keeps sending the product list non-stop in a loop until I archive the deployment on appscript. I suspect there's an issue with how I'm handling sessions or webhook triggers. believe it or not, i asked chatgpt (given that it wrote the code as well, im novice at coding) deepseek, and other AI's and they still couldn't figure it out. im novice at this but i did my best at trying to fix it but this is my last resort.
heres what chatgpt is suggestion the issue is:
Duplicate Updates: You have many Duplicate detected logs. This happens because Telegram sends updates via webhook and expects a quick 200 OK response. If your script takes too long to process (which Apps Script often can, especially with API calls), Telegram assumes the delivery failed and resends the same update. Your duplicate detection is working correctly by ignoring them, but it highlights a potential performance bottleneck or that the initial processing might be too slow.to which i have no clue what that means.Hereβs my full code (replace BOT_TOKEN with your own when testing):(my google shee has two columns columnA-products, columnB-prices const TELEGRAM_TOKEN = 'YOUR_BOT_TOKEN';const TELEGRAM_API_URL = 'https://api.telegram.org/bot' + TELEGRAM_TOKEN;const SCRIPT_URL = 'YOUR_DEPLOYED_SCRIPT_URL';const userSessions = {};// Main function to handle incoming webhook updatesfunction doPost(e) {try {const update = JSON.parse(e.postData.contents);if (update.message) {handleMessage(update.message);} else if (update.callback_query) {handleCallbackQuery(update.callback_query);}} catch (error) {Logger.log('Error processing update: ' + error);}return ContentService.createTextOutput('OK');}// Handle regular messagesfunction handleMessage(message) {const chatId = message.chat.id;const text = message.text || '';if (text.startsWith('/start')) {if (!userSessions[chatId]) {userSessions[chatId] = true;sendProductList(chatId);}} else {sendMessage(chatId, "Please use /start to see the list of available products.");}}// Handle product selection from inline keyboardfunction handleCallbackQuery(callbackQuery) {const chatId = callbackQuery.message.chat.id;const messageId = callbackQuery.message.message_id;const productName = callbackQuery.data;const price = getProductPrice(productName);let responseText = price !== null? `π° Price for ${productName}: $${price}`: `β οΈ Sorry, couldn't find price for ${productName}`;editMessage(chatId, messageId, responseText);answerCallbackQuery(callbackQuery.id);delete userSessions[chatId]; // Reset session}// Send the list of productsfunction sendProductList(chatId) {const products = getProductNames();if (products.length === 0) {sendMessage(chatId, "No products found in the database.");return;}const keyboard = products.slice(0, 100).map(product => [{ text: product, callback_data: product }]);sendMessageWithKeyboard(chatId, "π Please select a product to see its price:", keyboard);}// ===== GOOGLE SHEET INTEGRATION ===== //function getProductNames() {try {const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Products");if (!sheet) throw new Error("Products sheet not found");const lastRow = sheet.getLastRow();if (lastRow < 2) return [];return sheet.getRange(2, 1, lastRow - 1, 1).getValues().flat().filter(name => name && name.toString().trim() !== '');} catch (error) {Logger.log('Error getting product names: ' + error);return [];}}function getProductPrice(productName) {try {const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Products");const data = sheet.getRange(2, 1, sheet.getLastRow() - 1, 2).getValues();for (let row of data) {if (row[0] && row[0].toString().trim()β¦
I'm building a Telegram bot using Google Apps Script to fetch product prices from a Google Sheet. The bot should:Send a product list when the user types "/start". (searches the data in my google sheet)Let the user select a product.Return the price for the selected product (also from my google sheet)THATS IT!im using googlesheets appscripts btw.Issue: The bot keeps sending the product list non-stop in a loop until I archive the deployment on appscript. I suspect there's an issue with how I'm handling sessions or webhook triggers. believe it or not, i asked chatgpt (given that it wrote the code as well, im novice at coding) deepseek, and other AI's and they still couldn't figure it out. im novice at this but i did my best at trying to fix it but this is my last resort.
heres what chatgpt is suggestion the issue is:
Duplicate Updates: You have many Duplicate detected logs. This happens because Telegram sends updates via webhook and expects a quick 200 OK response. If your script takes too long to process (which Apps Script often can, especially with API calls), Telegram assumes the delivery failed and resends the same update. Your duplicate detection is working correctly by ignoring them, but it highlights a potential performance bottleneck or that the initial processing might be too slow.to which i have no clue what that means.Hereβs my full code (replace BOT_TOKEN with your own when testing):(my google shee has two columns columnA-products, columnB-prices const TELEGRAM_TOKEN = 'YOUR_BOT_TOKEN';const TELEGRAM_API_URL = 'https://api.telegram.org/bot' + TELEGRAM_TOKEN;const SCRIPT_URL = 'YOUR_DEPLOYED_SCRIPT_URL';const userSessions = {};// Main function to handle incoming webhook updatesfunction doPost(e) {try {const update = JSON.parse(e.postData.contents);if (update.message) {handleMessage(update.message);} else if (update.callback_query) {handleCallbackQuery(update.callback_query);}} catch (error) {Logger.log('Error processing update: ' + error);}return ContentService.createTextOutput('OK');}// Handle regular messagesfunction handleMessage(message) {const chatId = message.chat.id;const text = message.text || '';if (text.startsWith('/start')) {if (!userSessions[chatId]) {userSessions[chatId] = true;sendProductList(chatId);}} else {sendMessage(chatId, "Please use /start to see the list of available products.");}}// Handle product selection from inline keyboardfunction handleCallbackQuery(callbackQuery) {const chatId = callbackQuery.message.chat.id;const messageId = callbackQuery.message.message_id;const productName = callbackQuery.data;const price = getProductPrice(productName);let responseText = price !== null? `π° Price for ${productName}: $${price}`: `β οΈ Sorry, couldn't find price for ${productName}`;editMessage(chatId, messageId, responseText);answerCallbackQuery(callbackQuery.id);delete userSessions[chatId]; // Reset session}// Send the list of productsfunction sendProductList(chatId) {const products = getProductNames();if (products.length === 0) {sendMessage(chatId, "No products found in the database.");return;}const keyboard = products.slice(0, 100).map(product => [{ text: product, callback_data: product }]);sendMessageWithKeyboard(chatId, "π Please select a product to see its price:", keyboard);}// ===== GOOGLE SHEET INTEGRATION ===== //function getProductNames() {try {const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Products");if (!sheet) throw new Error("Products sheet not found");const lastRow = sheet.getLastRow();if (lastRow < 2) return [];return sheet.getRange(2, 1, lastRow - 1, 1).getValues().flat().filter(name => name && name.toString().trim() !== '');} catch (error) {Logger.log('Error getting product names: ' + error);return [];}}function getProductPrice(productName) {try {const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Products");const data = sheet.getRange(2, 1, sheet.getLastRow() - 1, 2).getValues();for (let row of data) {if (row[0] && row[0].toString().trim()β¦
713 terrorist bots and channels banned on April, 3.
Total this month: 1808
Report terrorist content using the in-app 'Report' button or to abuse@telegram.org.
Total this month: 1808
Report terrorist content using the in-app 'Report' button or to abuse@telegram.org.