From e1e0029cc50cdc22ba78297aab1e3050e67015c4 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 11 May 2018 11:57:05 +0200 Subject: [PATCH] Rename media type 1 to chat_photo --- pyrogram/client/ext/base_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/ext/base_client.py b/pyrogram/client/ext/base_client.py index 04862e88..ce3d5591 100644 --- a/pyrogram/client/ext/base_client.py +++ b/pyrogram/client/ext/base_client.py @@ -35,7 +35,7 @@ class BaseClient: MEDIA_TYPE_ID = { 0: "thumbnail", - 1: "thumbnail", + 1: "chat_photo", 2: "photo", 3: "voice", 4: "video",