mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Change chat photo media id
This commit is contained in:
parent
7a79e5a0c4
commit
ef45288419
@ -80,13 +80,13 @@ def parse_chat_photo(photo):
|
|||||||
return pyrogram_types.ChatPhoto(
|
return pyrogram_types.ChatPhoto(
|
||||||
small_file_id=encode(
|
small_file_id=encode(
|
||||||
pack(
|
pack(
|
||||||
"<iiqqqqi", 0, loc_small.dc_id, 0, 0, loc_small.volume_id,
|
"<iiqqqqi", 1, loc_small.dc_id, 0, 0, loc_small.volume_id,
|
||||||
loc_small.secret, loc_small.local_id
|
loc_small.secret, loc_small.local_id
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
big_file_id=encode(
|
big_file_id=encode(
|
||||||
pack(
|
pack(
|
||||||
"<iiqqqqi", 0, loc_big.dc_id, 0, 0, loc_big.volume_id,
|
"<iiqqqqi", 1, loc_big.dc_id, 0, 0, loc_big.volume_id,
|
||||||
loc_big.secret, loc_big.local_id
|
loc_big.secret, loc_big.local_id
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user