diff --git a/Code-snippets.md b/Code-snippets.md index 6bf6394..1379a9c 100644 --- a/Code-snippets.md +++ b/Code-snippets.md @@ -332,7 +332,7 @@ Let's stick to example of sending a document. Then you have to provide an `Inlin 2. `file_id`: ```python - result = InlineQueryResultCachedDocument(doucment_file_id=file_id, ...) + result = InlineQueryResultCachedDocument(document_file_id=file_id, ...) ``` The scheme `InlineQueryResult` vs `InlineQueryResultCached` is similar for the other media types.