Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
markusressel committed Aug 29, 2020
1 parent 7686551 commit 3153cff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,11 @@ def hide_whois_if_admin(update: Update, context: CallbackContext):
return user_id not in [123456]
```

This function is evaluated on each message and therefore provides
the `update` and `context` object from **python-telegram-bot**, which
allows you to make decisions based on chat and user properties
among other things.

## Error handling

**telegram-click** automatically handles errors in most situations.
Expand Down

0 comments on commit 3153cff

Please sign in to comment.