Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support incoming webhooks #38

Open
thesharp opened this issue Mar 19, 2016 · 1 comment
Open

Support incoming webhooks #38

thesharp opened this issue Mar 19, 2016 · 1 comment

Comments

@thesharp
Copy link
Contributor

A feature request for a small built-in webserver to add routes for various incoming webhooks. A common use case scenario could be announcing GitHub commits/issues/PRs or travis-ci build resuts to the chat.

@pietroalbini
Copy link
Contributor

I'm only worried the name webhooks will be easily confused with Telegram's ones. I'm thinking about referring it as the internal webserver, with an API like this:

bot.bind_webserver("127.0.0.1", 8000)

@bot.catch_http("/endpoint")
def catched_endpoint(request):
    pass

@pietroalbini pietroalbini added this to the botogram 0.3 milestone Mar 22, 2016
@pietroalbini pietroalbini removed this from the botogram 0.4 milestone Jul 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants