Skip to content

Releases: Scurrra/hamilton

Hamilton v0.4.0

03 Feb 12:50

Choose a tag to compare

Updated to Bot API 9.3.

v0.3.1

12 Nov 20:58

Choose a tag to compare

More useful functionality for Hamilton::Storage added.

Better (and finally working in `CmdHandler`) `Hamilton::Context`

11 Nov 18:57

Choose a tag to compare

Better Hamilton::Context with non-Nil Hamilton::Storage as inner storage of Hamilton::Any (mutable version of JSON::Any)

Hamilton v.0.2.1

07 Nov 23:19

Choose a tag to compare

  • Fixed bug with serialization of Arrays or Unions with Nil
  • Proper creation of Hamilton:Types:: with .new from arguments (not JSON)

(Optionally) Async Hamilton

07 Nov 16:42

Choose a tag to compare

Hamilton is now able to handle updates concurrently with -Dasync flag on. More about usage in the guide.

Hamilton v0.1.2

06 Nov 22:27

Choose a tag to compare

Fixed bug with ApiResult.

Minor fix and better docs

03 Nov 14:53

Choose a tag to compare

v0.1.1

Better docs + v0.1.1

First MVP release

02 Nov 21:47

Choose a tag to compare

Package provides wrapper for Telegram Bot API:

  • Types can be accessed from Hamilton::Types module
  • API methods are methods in Hamilton::Api class
  • Hamilton::Bot retrieves updates from Telegram with long pooling and handles them with specified handlers:
    • Hamilton::LogHandler logs update type and time consumed to handle it
    • Hamilton::CmdHandler handles most popular types of updates
    • Hamilton::Handler module may be used to create custom handlers