Hedwig v1.0.1 Hedwig.Adapter behaviour View Source

Hedwig Adapter Behaviour

An adapter is the interface to the service your bot runs on. To implement an adapter you will need to translate messages from the service to the Hedwig.Message struct and call Hedwig.Robot.handle_in(robot, msg).

Link to this section Summary

Link to this section Types

Link to this section Callbacks

Link to this callback emote(pid, msg) View Source
emote(pid, msg) :: term
Link to this callback reply(pid, msg) View Source
reply(pid, msg) :: term
Link to this callback send(pid, msg) View Source
send(pid, msg) :: term