alice v0.4.3 Alice.ChatBackends.OutboundClient behaviour

Documentation for the OutboundClient behavior. This defines a behavior for modules that serve as an outbound connection to a backend.

Link to this section Summary

Link to this section Callbacks

Link to this callback

indicate_typing(channel, service_state)

indicate_typing(channel :: String.t(), service_state :: map()) :: String.t()
Link to this callback

send_message(message, channel, service_state)

send_message(
  message :: String.t(),
  channel :: String.t(),
  service_state :: map()
) :: String.t()