From 1c6ab0d3324a83de2a0a41910491211be2ffb46b Mon Sep 17 00:00:00 2001 From: Bibo-Joshi Date: Thu, 11 Mar 2021 21:29:36 +0100 Subject: [PATCH] Updated Code snippets (markdown) --- Code-snippets.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Code-snippets.md b/Code-snippets.md index 3eadbfd..bfd2589 100644 --- a/Code-snippets.md +++ b/Code-snippets.md @@ -146,6 +146,8 @@ bot.send_message(chat_id=chat_id, ... reply_markup=reply_markup) ``` +To catch the incoming message with the location/contact, use `MessageHandler` with `Filters.location` and `Filters.contact`, respectively. + ### Message Formatting (bold, italic, code, ...) #### Post a text message with Markdown formatting