GithubHelp home page GithubHelp logo

marcl / telegram-test-bot Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 14.0 26 KB

A test Telegram bot using serverless functions with Vercel for deployment

Home Page: https://test-bot.vercel.app

JavaScript 100.00%
serverless telegram telegram-bot vercel

telegram-test-bot's Introduction

๐Ÿ‘‹ Hello! I'm Marc Littlemore

Hello! I'm a Senior Software Engineering Manager with extensive experience in leading high-performing teams and delivering innovative solutions across both startup and enterprise environments. Over the past 8 years, I have refined my management skills at BBC, Sony, and several dynamic startups like Netlify.

I'm an ex-veteran of the video games industry, having spent almost 20 years working on video games, mostly for Sony PlayStation. See my games list here.

  • ๐Ÿ“€ Music production: I've been a DJ since 1988 and spent a lot of time playing house music to clubbers in the UK and Germany. I spend a lot of my free time making electronic music in Ableton Live.
  • ๐ŸŒฑ Learning: I'm always learning about new technologies, how to be a better leader, and how to build and market digital products.
  • ๐Ÿ’ฌ Ask me about: Anything you need help with! Always happy to help out.
  • ๐Ÿ‘‰๐Ÿป Pronouns: he/him

๐Ÿ”— Connect with me

marclittlemore.com Marc Littlemore | Twitter Marc LIttlemore | LinkedIn Marc Littlemore | YouTube Marc Littlemore | Instagram


๐Ÿ“• Latest Articles

telegram-test-bot's People

Contributors

marcl 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

Watchers

 avatar  avatar  avatar

telegram-test-bot's Issues

Webhook works just once

Hi Marc, first of all I want to thank you for your repositories, they are helping me. My name is Henrique and I'm from Brazil and I'm having difficulties with the Telegram Bot using webhooks.
I deployed it on Vercel, however, after setting the URL, it only works once.

I define the webhook, then use the getWebhookInfo endpoint and get the following return:

{
"ok": true,
"result": {
"url": "<my_url>",
"has_custom_certificate": false,
"pending_update_count": 0,
"max_connections": 40,
"ip_address": "<my_ip>"
}
}

However, when performing a test (deleting the message sent to the Bot), it works, and then it doesn't work anymore. it works exactly 1 time. after that, when using getWebhookInfo again, I get the following return:

{
"ok": true,
"result": {
"url": "",
"has_custom_certificate": false,
"pending_update_count": 1
}
}

my url just disappears

I didn't find anything similar in the forums, neither from Vercel nor from telegram, I'm lost, do you have any insights on this subject?

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.