elixir_wit v0.1.0 Wit.DefaultActions behaviour

Callbacks to the default actions for the WIT

Summary

Callbacks

Called when the converse API has type {type: "merge"}. This should update the context with the information provided in the request

Called when the converse API has type {type: "msg"}. This should send message back to the user

Callbacks

error(arg0, map, any)

Specs

error(String.t, map, any) :: map
merge(arg0, map, map)

Specs

merge(String.t, map, map) :: map

Called when the converse API has type {type: "merge"}. This should update the context with the information provided in the request

say(arg0, map, arg2)

Specs

say(String.t, map, String.t) :: any

Called when the converse API has type {type: "msg"}. This should send message back to the user.