convoy v0.1.0 API Reference

Modules

Context struct is the reference to the user id as well as history of last messages (both from the user and Convoy) as a reverse chronological linked list

Message is expected to contain a reference to the current context of the conversation, as well as the text of the last message

A specific implementation of the rules as per RulesEngine

All of the magic happens here

User is just a wrapper for user id