{"repo":"Guf-Hub/TGBot","free":true,"listed":false,"github":"https://github.com/Guf-Hub/TGBot","clone":"git clone https://github.com/Guf-Hub/TGBot.git","description":"Google Apps Script library for working with the Telegram API.","language":"JavaScript","stars":51,"topics":["google-apps-script-library","telegram","gas-library","javascipt","telegram-bot","gas","bot-api"],"license":"MIT","category":"chat-messaging","readme_excerpt":"TGbot In english По-русски Google Apps Script Library for working with API Telegram. Have fun working in GAS using Google Sheets. Library Script ID: Supports work only via Webhook (doPost(e)). 🤖 Bot example Send bugs here Author channel ExceLifeHack Help Google Apps & API. Скрипты, Таблицы, BigQuery, Отчеты, Автоматизация Connection Open the script editor: Extensions - Apps Script - Libraries. Fill out the fields in the Add Library form: - insert Library Script ID; - click Find ; - select the latest version and click Add . Bot initialization Using methods Keyboard buttons Webhook - doPost(e) JSDoc: Added Types.js file, author of the idea Alexander Ivanov . Copy the contents from the Types.js file into your project. Once added, you can use JSDoc to refine variable types, which opens up possibilities for hints in the online editor. Unofficial methods: - getPath method for getting the path to the file. - getFileDownloadUrl method for obtaining a link to download a file. - answerMessage response by from.id to the received message. Pass a message object as the first argument. - replyMessage response by message id to the received message. Pass a message object as the first argument. Copyright & License MIT License Copyright (©) 2022 by Mikhail Nosaev","default_branch":null,"files":null,"tree":[],"storefront":"/r/Guf-Hub","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Guf-Hub/TGBot/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."}