BotEx.Behaviours.Handler behaviour (bot_ex v1.0.2)
Basic behaviour for the Handler module
Summary
Callbacks
Returns a command is responsible for module processing
@callback handle_message(BotEx.Models.Message.t()) :: any() | no_return()
Message handler
Parameters
- msg: incoming
BotEx.Models.Message
message. - state: current state return new state