aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAdrian Kummerlaender2016-03-16 23:01:20 +0100
committerAdrian Kummerlaender2016-03-16 23:01:20 +0100
commit910954b4a71c45e680ed834a45d6cfecbdeb928c (patch)
tree689daae8b7c12e615d7442a8eb2484554d2942b5 /README.md
parent05fa1103796cdbda30afb7be1e569674d6076f87 (diff)
downloadTelebot-910954b4a71c45e680ed834a45d6cfecbdeb928c.tar
Telebot-910954b4a71c45e680ed834a45d6cfecbdeb928c.tar.gz
Telebot-910954b4a71c45e680ed834a45d6cfecbdeb928c.tar.bz2
Telebot-910954b4a71c45e680ed834a45d6cfecbdeb928c.tar.lz
Telebot-910954b4a71c45e680ed834a45d6cfecbdeb928c.tar.xz
Telebot-910954b4a71c45e680ed834a45d6cfecbdeb928c.tar.zst
Telebot-910954b4a71c45e680ed834a45d6cfecbdeb928c.zip
Implement conversation-manager pattern framework function
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.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions