Skip to content

telegrambotindonesia/GAS-Lib-v3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GAS Lib v3

Google Apps Script Library for Telegram, 3rd edition.

version netifly GitHub last commit GitHub code size in bytes Lines of code GitHub issues GAS lang count javascript GitHub Discussions telegram botindonesia GitHub contributors visit clasp

ID Library

Frist Release : 10 Agustus 2021 / 1 Muharam 1443 H

lumpia

This is stable release

  • Legacy: MUD_wfLskZT2D99lRXLh94vvg_do21SJR
  • New: 1Yo6vQRwjG5Gl9jeEF0g2tBTUa0XN5MyT4G_HeDpRr9DvabxhRcSdhPNj

Quick Start

const bot = new lumpia.init(tokenbot);

function doPost(e) {
  bot.doPost(e);
}

bot.start(ctx => ctx.reply('Lets Go'));

bot.cmd('ping', ctx => ctx.replyIt('Pong!'));

bot.hears(/hello/i, ctx => ctx.reply('Hello too!'));

bot.hears(/^\/say (.*)/i, ctx => ctx.replyIt(ctx.match[1]));

Docs

Community