Cleverbot.Session
A struct that holds the state of a cleverbot session consisting of
session_id
and history
.
Summary↑
update(session, message, response) | Updates a |
Types ↑
session :: %Cleverbot.Session{session_id: binary | nil, history: [] | [binary]}
Functions
Specs:
Updates a Cleverbot.Session
‘s history and session_id to reflect the latest
response and message.