From f9b5806a5ba394adbab1b0bdb799ef881a650df4 Mon Sep 17 00:00:00 2001
From: Dan <14043624+delivrance@users.noreply.github.com>
Date: Mon, 25 Dec 2017 13:32:07 +0100
Subject: [PATCH] Updated Update Handling (markdown)
---
Update-Handling.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Update-Handling.md b/Update-Handling.md
index 292ef9c..46f585a 100644
--- a/Update-Handling.md
+++ b/Update-Handling.md
@@ -19,13 +19,15 @@ client.start()
client.idle()
```
-The last line, `client.idle()` is not strictly necessary but highly recommended; it will block your script execution until you press CTRL+C and automatically call the `stop` method which stops the Client and gently close the underlying connection.
+The last line, `client.idle()` is not strictly necessary but highly recommended; it will block your script execution until you press CTRLC and automatically call the `stop` method which stops the Client and gently close the underlying connection.
# Examples
- Echo:
``` python
+ from pyrogram.api import types
+
def callback(update):
if isinstance(update, types.UpdateShortMessage) and not update.out:
client.send_message(update.user_id, update.message)