bobheadxi / calories

:poultry_leg: a Facebook Messenger bot in Golang for all your calorie-tracking needs
MIT License
5 stars 3 forks source link

Questions and Responses ("conversations") #43

Open bobheadxi opened 6 years ago

bobheadxi commented 6 years ago

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: