From ca07a12c30190ec74a3aa795eb84d71ebdafb206 Mon Sep 17 00:00:00 2001 From: Harshil <37377066+harshil21@users.noreply.github.com> Date: Tue, 22 Jun 2021 13:36:36 +0530 Subject: [PATCH] fix typo --- Code-snippets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code-snippets.md b/Code-snippets.md index 1379a9c..1511c22 100644 --- a/Code-snippets.md +++ b/Code-snippets.md @@ -369,7 +369,7 @@ newFile = message.effective_attachment.get_file() newFile.download('file_name') ``` -`message.effect_attachment` automatically contains whichever media attachment the message has - in case of a photo, you'll again have to use e.g. `message.effective_attachment[-1].get_file()` +`message.effective_attachment` automatically contains whichever media attachment the message has - in case of a photo, you'll again have to use e.g. `message.effective_attachment[-1].get_file()` --- ### Keyboard Menus