module Hamilton::Handler

Overview

Basic module for updates' handler.

Should be included in custom handler class.

Direct including types

Defined in:

handler.cr

Instance Method Summary

Instance Method Detail

abstract def call(update : Hamilton::Types::Update) #

Handling method that processes an update.


def call_next(update : Hamilton::Types::Update) : Nil #

Method that calls the next handler.


def next : Handler | HandlerProc | Nil #

Next handler to be called.


def next=(next __arg0 : Handler | HandlerProc | Nil) #

Next handler to be called.