Telegraf-aws
Small lib to ease use of AWS Lambda with Telegraf in webhook mode
Example
Small example of serverless Telegraf bot:
// Create telegraf instance for handle updatesconst bot = processenvBOT_TOKEN webhookReply: true // Create webhook handlerconst updateHandler = // Optional - set webhook url on startbottelegram // Register bot commandsbotbotbotbot // Now use hello as your lambda function and done!const hello = updateHandler