Hey Kelvin,
Clueless about python. I do a bit of PowerShell for my work but that is it. I ran the first python run_bot.py with no issue, and I do see 'message' as I type the messaged but on the secondary window I am seeing below error. Any ideas to where I might be going wrong?
C:\Program Files\Spyder\telegram-sentinel-master\telegram-sentinel-master\forward_msg>python main.py config.yml
Entity-check successful!
Listening on 2 channels. Forwarding messages to chatSentinel_bot.
Unhandled exception on forwarding_handler
Traceback (most recent call last):
File "C:\Users\Test\AppData\Roaming\Python\Python310\site-packages\telethon\client\updates.py", line 454, in _dispatch_update
await callback(event)
File "C:\Program Files\Spyder\telegram-sentinel-master\telegram-sentinel-master\forward_msg\main.py", line 69, in forwarding_handler
await client.forward_messages(output_channel_entity, event.message)
File "C:\Users\Test\AppData\Roaming\Python\Python310\site-packages\telethon\client\messages.py", line 985, in forward_messages
result = await self(req)
File "C:\Users\Test\AppData\Roaming\Python\Python310\site-packages\telethon\client\users.py", line 30, in call
return await self._call(self._sender, request, ordered=ordered)
File "C:\Users\Test\AppData\Roaming\Python\Python310\site-packages\telethon\client\users.py", line 79, in _call
result = await future
telethon.errors.rpcerrorlist.PeerIdInvalidError: An invalid Peer was used. Make sure to pass the right peer type and that the value is valid (for instance, bots cannot start conversations) (caused by ForwardMessagesRequest)