From 02b5ae854bcb9326ddd8ef71297c111d87b13e24 Mon Sep 17 00:00:00 2001 From: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com> Date: Sun, 15 Aug 2021 12:13:29 +0200 Subject: [PATCH] Updated Code snippets (markdown) --- Code-snippets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code-snippets.md b/Code-snippets.md index 3af1352..e6c8c7d 100644 --- a/Code-snippets.md +++ b/Code-snippets.md @@ -551,7 +551,7 @@ def hello(update, context): context.bot.send_message(chat_id=update.effective_chat.id, text="Hello world!") ``` -**Note**: You can modify this decorator in order to register any type of handler (see [Types Of Handlers](https://github.com/python-telegram-bot/python-telegram-bot/wiki/Types-Of-Handlers)). +**Note**: You can modify this decorator in order to register any type of handler (see [Types Of Handlers](https://github.com/python-telegram-bot/python-telegram-bot/wiki/Types-Of-Handlers)). Please also note that PTB deliberately does not provide such functionality out of the box due to the reasons mentioned in [#899](https://github.com/python-telegram-bot/python-telegram-bot/issues/899). --- #### Restrict access to a handler (decorator)