mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 07:06:26 +01:00
fix typo
parent
7a6e7eacdb
commit
ca07a12c30
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue