aboutsummaryrefslogtreecommitdiff
path: root/example/echo.scm
AgeCommit message (Collapse)Author
2016-03-16Implement conversation-manager pattern framework functionAdrian Kummerlaender
The _conversation-manager_ pattern previously tested in the _guess_ example game should be useful for other kinds of use cases and as such was moved into the module. `make-conversation-manager` maintains an internal hash table of per-conversation (i.e. chat-ids) closures constructed by the provided constructor function. Thus bot implementations such as the _guess_ game example only need to instantiate a conversation-manager, call it via e.g. `poll-updates` and implement the actual conversation logic in a custom conversation closure. Telebot's framework function names are now consistently separated by minuses instead of capital letters.
2016-03-15Add update type predicatesAdrian Kummerlaender
2016-03-13Add extension build and install instructionsAdrian Kummerlaender