From b25435f29af223b1aeab9b7c18526e9e7d86ebeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Jornet=20Calomarde?= Date: Sat, 8 Aug 2015 23:26:47 +0200 Subject: [PATCH] Replaced mine_type by mime_type --- telebot/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/types.py b/telebot/types.py index 0650236..8c98774 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -244,7 +244,7 @@ class Document(JsonDeserializable): file_size = None if 'file_name' in obj: file_name = obj['file_name'] - if 'mine_type' in obj: + if 'mime_type' in obj: mime_type = obj['mime_type'] if 'file_size' in obj: file_size = obj['file_size']