{"repo":"fmiccolis/GAS-conversational-telegram-bot","free":true,"listed":false,"github":"https://github.com/fmiccolis/GAS-conversational-telegram-bot","clone":"git clone https://github.com/fmiccolis/GAS-conversational-telegram-bot.git","description":"Google App Script Conversational Telegram Bot is the first backend for your telegram bot hosted by Google for free.","language":"JavaScript","stars":35,"topics":["google-apps-script","google-spreadsheet","telegram","telegram-bot","telegram-bot-api","webhook","bot","bot-api","bot-framework","gas"],"license":null,"category":"chat-messaging","readme_excerpt":"Google Apps Script — Conversational Telegram Bot A conversational Telegram bot hosted on Google Apps Script, available 24/7 at no cost. Thanks to the integration between Google services, the bot supports multi-step conversations in both private chats and groups. Setup is fast and requires no external server. --- Prerequisites - Google Account - Telegram Account - Basic knowledge of JavaScript - Node.js (v14 or later) --- Installation 1. Create the Telegram bot Open Telegram and search for @BotFather. Create a new bot and note down the token . Then send a /start message to your bot (it won't reply, but it initialises the conversation on Telegram's side). 2. Create the Google Spreadsheet In Google Drive, create a folder named after your bot and inside it create a Google Spreadsheet . Note down the spreadsheetId from the URL: 3. Create the Apps Script project Open the spreadsheet and go to Extensions → Apps Script . From Project settings , copy the Script ID . 4. Clone the repository and configure clasp Enable the Apps Script API at script.google.com/home/usersettings. Then set up your local .clasp.json : Open .clasp.json and replace YOUR SCRIPT ID HERE with the Script ID copied in step 3. 5. Push the code 6. Deploy as a Web App In the editor, click Deploy → New deployment . Choose Web app as the type, set Execute as: Me and Who has access: Anyone . Confirm and note the webAppId from the resulting URL: 7. Set Script properties Go to Project settings → Script properties and add t","default_branch":null,"files":null,"tree":[],"storefront":"/r/fmiccolis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fmiccolis/GAS-conversational-telegram-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}