aboutsummaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorChristoph Lange2018-04-30 15:39:01 +0200
committerChristoph Lange2018-04-30 15:50:14 +0200
commitebc0c51cdf832bb8a0fe0e4b9cc9bff8fab28e4e (patch)
treeed8b72b905586311ed9d38bef7f84907df9325f6 /LICENSE
parent94f572847c844608adf43bbac2bfc52838fc226b (diff)
downloadTelebot-ebc0c51cdf832bb8a0fe0e4b9cc9bff8fab28e4e.tar
Telebot-ebc0c51cdf832bb8a0fe0e4b9cc9bff8fab28e4e.tar.gz
Telebot-ebc0c51cdf832bb8a0fe0e4b9cc9bff8fab28e4e.tar.bz2
Telebot-ebc0c51cdf832bb8a0fe0e4b9cc9bff8fab28e4e.tar.lz
Telebot-ebc0c51cdf832bb8a0fe0e4b9cc9bff8fab28e4e.tar.xz
Telebot-ebc0c51cdf832bb8a0fe0e4b9cc9bff8fab28e4e.tar.zst
Telebot-ebc0c51cdf832bb8a0fe0e4b9cc9bff8fab28e4e.zip
Abstract 'is-message?': returns #t for message and edited_message
- in 'resolve-query': return '() instead of default #f from 'alist-ref': this way it doesn't fail when passed to 'fold' and didn't find anything, which expects a list and not a boolean; cleaner also: always returns what it found, even if it's nothing (empty list) - then: check for '() instead of #f - change 'update-predicate' to expect a list of lists: e.g. the update can have _either_ (message text) _or_ (edited_message text) to be a message of type text
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions