ExGram.Handler behaviour (ex_gram v0.55.1)

View Source

Handle behaviour for ExGram.Bot implementation

Summary

Callbacks

handle(parsed_message, t)

(optional)

handle_error(t)

(optional)
@callback handle_error(ExGram.Error.t()) :: any()