GAS Lib v3
Google Apps Script Library for Telegram, 3rd edition.
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
- Telegram Group @botIndonesia