key_id can also be a string

This commit is contained in:
KnugiHK
2025-05-05 16:12:57 +08:00
parent 9d76cf60af
commit 3e3aeae7ad

View File

@@ -276,7 +276,7 @@ class Message:
from_me: Union[bool, int],
timestamp: int,
time: Union[int, float, str],
key_id: int,
key_id: Union[int, str],
received_timestamp: int,
read_timestamp: int,
timezone_offset: int = 0,