Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

emilianox/teletipo-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teletipo

Image

A microframework between google app script(GAS) and telegram API for simple telegram Bots (Typescript Version)

Glosary gas = google app script

Install

One time for all bots

First time when create each bot

  googleAppScript:
    project_name : ""
    id_gapps : ""
  secret:""

project_name : the name of the the project in de gas editor

id_gapps: from "https://script.google.com/d/**ID_GAPPS IS HERE**/edit?splash=yes"

secret: in BotFather the token to access :

Ex. 22465655206:ZYGPndgYE5Ejs8e6_9pujKywTgHKDvGu-Cp

  • run (into proyect folder) node pull.js

  • edit frontend/commands.ts

  • edit test/frontend.ts

  • run (into proyect folder) node push.js

  • go to Publish > Deploy as web app. Guide

  • in gas editor run setTelegram function in init file

  • profit!

When edit

  • run (into proyect folder) node push.ts

  • edit frontend/commands.ts

  • edit test/frontend.ts

  • run (into proyect folder) node push.ts

  • go to Publish > Deploy as web app. Guide

  • in the gas editor run setTelegram (init.gs) function in init file

  • profit!

About

Teletipo port in typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published