Comments (7)
@Otann what about to add in Readme prefer way to work with updates?
from morse.
or maybe have a channel returned directly if no "handler" function is passed
that is a very fine addition to the API design, thank you
from morse.
@chiliec I suppose it depends on the complexity of the application a lot, whether it should be sync or async, channels or manifolds, polling or not.
But this is something that could I could do for the template for sure.
from morse.
@Otann I think most people want to copy-paste code and use polling for rapidly start new bot, but suspension taking requests after some normal working time — totally impermissible
from morse.
@dixel how about if a handler is a channel, you get updates there?
this sounds like a decent interface and easily doable: f0708f0
from morse.
@Otann yes, this interface is actually perfect for some of the scenarios that I have, I suppose this can be closed then when you're ready to give it a go.
from morse.
released as 0.4.0
from morse.
Related Issues (20)
- Support /command@YourBot style commands HOT 3
- Exception causes long polling process shutdown HOT 2
- Don't leak dev-time dependencies HOT 3
- Not reconnected after 502 error HOT 4
- `polling/start` cannot signal when the updates channel is closed HOT 10
- Global timeout outside of clj-http for getting updates in the polling process. HOT 1
- Bot freezes for unknown reasons HOT 12
- Got HTTP request timed out HOT 2
- pooling started, but not working HOT 3
- Update handler HOT 1
- no delete-webhook function.
- Long-polling HTTP request timed out, stopping polling HOT 8
- Infinite loop with web hook HOT 1
- Handle upgrading a group to supergroup HOT 3
- Longpolling: Does not survive random 502 from Telegram HOT 3
- inline query did not check if update is a inline query
- 403 Forbidden: bot was blocked by the user HOT 4
- hellonico/morse 0.2.4 ? HOT 1
- Message is sent but throws an exception HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from morse.