mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-27 01:34:29 +03:00
acfde7132b
Raw API does not monkey-patch the client on the returned messages, so the get_input_chat call would return None, causing the forward to fail. Instead, manually resolve the chat using the message's peer_id. The resolve call can also be avoided if from_peer is passed (which may mismatch with where the messages actually belong, but that's not really a concern). |
||
---|---|---|
.. | ||
__init__.py | ||
account.py | ||
auth.py | ||
bots.py | ||
buttons.py | ||
chats.py | ||
dialogs.py | ||
downloads.py | ||
messageparse.py | ||
messages.py | ||
telegrambaseclient.py | ||
telegramclient.py | ||
updates.py | ||
uploads.py | ||
users.py |