Releases: Scurrra/hamilton
Releases · Scurrra/hamilton
Hamilton v0.4.0
v0.3.1
Better (and finally working in `CmdHandler`) `Hamilton::Context`
Better Hamilton::Context with non-Nil Hamilton::Storage as inner storage of Hamilton::Any (mutable version of JSON::Any)
Hamilton v.0.2.1
- Fixed bug with serialization of Arrays or Unions with Nil
- Proper creation of
Hamilton:Types::with.newfrom arguments (not JSON)
(Optionally) Async Hamilton
Hamilton is now able to handle updates concurrently with -Dasync flag on. More about usage in the guide.
Hamilton v0.1.2
Fixed bug with ApiResult.
Minor fix and better docs
v0.1.1 Better docs + v0.1.1
First MVP release
Package provides wrapper for Telegram Bot API:
- Types can be accessed from
Hamilton::Typesmodule - API methods are methods in
Hamilton::Apiclass Hamilton::Botretrieves updates from Telegram with long pooling and handles them with specified handlers:Hamilton::LogHandlerlogs update type and time consumed to handle itHamilton::CmdHandlerhandles most popular types of updatesHamilton::Handlermodule may be used to create custom handlers