From 0ab741b86f208ee5b25f6eb7872b6acf905749c0 Mon Sep 17 00:00:00 2001 From: Jasmin Bom Date: Sat, 13 Oct 2018 12:30:20 +0200 Subject: [PATCH] Updated Types of Handlers (markdown) --- Types-of-Handlers.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Types-of-Handlers.md b/Types-of-Handlers.md index 5454682..3e622c2 100644 --- a/Types-of-Handlers.md +++ b/Types-of-Handlers.md @@ -31,8 +31,9 @@ The argument passing described above works exactly the same when the user clicks [https://t.me/roolsbot?start=Hello_World!](https://t.me/roolsbot?start=Hello_World!) -Clicking this link will open your Telegram Client and show a big START button. When it is pressed, the URL parameters "Hello World!" will be passed on to the `args` of your /start callback. +Clicking this link will open your Telegram Client and show a big START button. When it is pressed, the URL parameters "Hello_World!" will be passed on to the `args` of your /start callback. +Note that since telegram doesn't support spaces in deep linking parameters, you will have to manually split the single `Hello_World` argument, into `["Hello", "World!"]` (using `args[0].split('_')` for example) ## Pattern matching: The RegexHandler