Update to Telethon 1.22

This commit is contained in:
Tulir Asokan
2021-06-22 19:42:26 +03:00
parent f923552f86
commit 730f6bab6f
4 changed files with 9 additions and 10 deletions
+1 -2
View File
@@ -344,8 +344,7 @@ class Puppet(BasePuppet):
loc = InputPeerPhotoFileLocation(
peer=await self.get_input_entity(source),
local_id=photo.photo_big.local_id,
volume_id=photo.photo_big.volume_id,
photo_id=photo.photo_id,
big=True
)
file = await util.transfer_file_to_matrix(source.client, self.default_mxid_intent, loc)