Coder Social home page Coder Social logo

lesterchan / telegram-bot Goto Github PK

View Code? Open in Web Editor NEW
122.0 9.0 27.0 389 KB

Telegram Bot using AWS API Gateway and AWS Lambda

Home Page: https://lesterchan.net/blog/2016/03/11/telegram-bot-using-aws-api-gateway-and-aws-lambda/

JavaScript 100.00%
telegram-bot telegram aws-lambda lambda lesterchan bot

telegram-bot's Introduction

Hi there 👋

👨‍💻 About Me

🌏 I blogged about gadgets at lesterchan.net.

🥞 Currently working in Grab as a Engineering Manager, Full Stack.

⏪ Previously, I was the Head of Engineering in Tech in Asia.

🔌 During my free time (which I do not have much now), I am a WordPress Plugins Developer.

🔎 Find Me

Email: lesterchan@gmail.com            LinkedIn: https://www.linkedin.com/in/lesterchan            Twitter: @gamerz            Instagram: @gamerz

Latest Blog Posts on lesterchan.net

GitHub Stats

Lester Chan's GitHub Stats

telegram-bot's People

Contributors

dependabot[bot] avatar lesterchan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

telegram-bot's Issues

Receiving unexpected behavior while handling Telegram bot commands

Hello and thank you for this nice software and tips. Following your instructions I am using AWS Lamba as webhook for all messages that comes to telegram bot.
However I got an issue. For some reason lambda function does not reply on command first time. Telegram user just has no answer. But it replies every next time on previous request.

I will give and example:

I put command 1. Result: no answer.
I put command 2. Result: answer on command 1.
I put command 3. Result: answer on command 2
I put command 4. Result: answer on command 3
and so on... what is going wrong?

Possible to keep track of state in AWS lambda TG bot?

Hi,
First off thanks so much for this useful tutorial

I am wondering if it's possible to prompt the user with a menu of options depending on what query they run. For example they say /weather, then the bot asks for your location, then you hit back with /Singapore or /NewYork or something. Is this possible? Would state need to be stored in a DB?

Thanks,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.