- Clone repository
- Execute
npm install
in./telegram-agenda-bot/
- Execute
tsc
in in./telegram-agenda-bot/
- Create and fill out
./telegram-agenda-bot/credentials.json
{
"telegram": {
"api_key": ""
},
"calendar": {
"client_id": "",
"client_secret": "",
"redirect_uris": []
}
}
- Create and fill out
./telegram-agenda-bot/users.json
{
"settings": {
"timezone": "",
"send_notification_at": ""
},
"telegram_chat_id": "",
"refresh_token": ""
}
- Execute
npm start
in./telegram-agenda-bot