a
Size: a a a
a
a
КА
python3.8 -m pip install --upgrade telethon0Collecting telethon
Downloading Telethon-1.17.5-py3-none-any.whl (498 kB)
Requirement already satisfied, skipping upgrade: pyaes in /usr/local/lib/python3.8/dist-packages (from telethon) (1.6.1)
Requirement already satisfied, skipping upgrade: rsa in /usr/local/lib/python3.8/dist-packages (from telethon) (4.6)
Requirement already satisfied, skipping upgrade: pyasn1>=0.1.3 in /usr/local/lib/python3.8/dist-packages (from rsa->telethon) (0.4.8)
Installing collected packages: telethon
Attempting uninstall: telethon
Found existing installation: Telethon 1.16.3
Uninstalling Telethon-1.16.3:
Successfully uninstalled Telethon-1.16.3
Successfully installed telethon-1.17.5
КА
КА
КА
a
a
a
a
Message.from_id is now a Peer and not a int because it has to represent that the message may come from a Chat now, and not a User.int to remain being the marked sender ID, and save the new field under a different name like from_peer. However, even "raw API" would be affected and the field names would no longer match with what Telegram calls them, which could be confusing and adds yet another special case to the code.Message.sender_id for a long time, and it has been and will remain being the marked integer ID of the sender. After all, Message.from_id was a field coming from raw API, and raw API is prone to breaking in minor releases as it's known when layers change..sender_id. a
КА
КА
КА
КА
🎩
ВБ
s
s