Resize sticker

This commit is contained in:
KnugiHK
2023-06-15 16:59:54 +08:00
parent a49a911e03
commit f7f6b01c86
4 changed files with 15 additions and 2 deletions

View File

@@ -129,6 +129,8 @@ def messages(db, data, media_folder):
quoted = content["ZMETADATA"][2:19]
message.reply = quoted.decode()
message.quoted_data = None # TODO
if content["ZMESSAGETYPE"] == 15: # Sticker
message.sticker = True
if content["ZISFROMME"] == 1:
if content["ZMESSAGETYPE"] == 14: