Answer the question
In order to leave comments, you need to log in
Python Telethon How to get channel message history?
We can receive messages with this method: client.get_message_history(id)
But how do we receive channel messages?
if a channel is passed to id, an error occurs:
ValueError: Could not find the input entity corresponding to "PeerUser(user_id=-digitsdigits)".Make sure you have encountered this peer before.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question