QuickReply is one option, but need a way to track more complicated responses, ie:
user: I ate cookies today
calories: How many cookies?
user: 3
// make use of response "3" within the context of "I ate cookies today"
And update our API and Handlers to allow for this.
Likely have to implement some sort of "state management", possibly in memory but maybe in database would be better - should ideally take into account:
state build-up (e.g. calories asking a lot of questions and getting few responses could bog down responses and memory)
effective context tracking (e.g. in above example), possibly with the context struct already available in package bot (expand on functionality of that struct if needed)
QuickReply
is one option, but need a way to track more complicated responses, ie:And update our API and Handlers to allow for this.
Likely have to implement some sort of "state management", possibly in memory but maybe in database would be better - should ideally take into account:
context
struct already available in packagebot
(expand on functionality of that struct if needed)