ExGram.Handler behaviour (ex_gram v0.27.0) View Source

Handle behaviour for ExGram.Bot implementation

Link to this section Summary

Link to this section Callbacks

Link to this callback

handle(any, arg2)

View Source (optional)

Specs

handle(any(), ExGram.Cnt.t()) :: ExGram.Cnt.t()
Link to this callback

handle_error(arg1)

View Source (optional)

Specs

handle_error(ExGram.Error.t()) :: any()