mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 07:06:26 +01:00
Updated Code snippets (markdown)
parent
d7b2131eae
commit
acbaaf1d25
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ Let's stick to example of sending a document. Then you have to provide an `Inlin
|
||||||
2. `file_id`:
|
2. `file_id`:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
result = InlineQueryResultCachedDocument(doucment_file_id=file_id, ...)
|
result = InlineQueryResultCachedDocument(document_file_id=file_id, ...)
|
||||||
```
|
```
|
||||||
|
|
||||||
The scheme `InlineQueryResult<media_type>` vs `InlineQueryResultCached<media_type>` is similar for the other media types.
|
The scheme `InlineQueryResult<media_type>` vs `InlineQueryResultCached<media_type>` is similar for the other media types.
|
||||||
|
|
Loading…
Reference in a new issue