For local development, you need to install https://github.com/google/clasp
npm i @google/clasp -g
mv .clasp.json.example .clasp.json
Create new empty application at Google Apps Script https://script.google.com/home and specify scriptId
in .clasp.json
file
mv config.js.example config.js
Specify the token
of the Telegram bot in config.js
https://core.telegram.org/bots/api
Specify the ID of the google-table chatDataSsid
and userDataSsid
in config.js
used as database.
clasp login
Enable the API in https://script.google.com/home/usersettings
clasp push