Open mdm095 opened 2 years ago
Hi, have you last version? Please launch git pull 😉
Its already Up to date (Already Git Pulled)
for your concern am testing the script right now ! still facing the same error ! Git pulled and repo is up to date !
2022-05-20 03:35:34 ERROR Telegram says: [400 CHAT_FORWARDS_RESTRICTED] - The chat restricts forwarding content (caused by "messages.ForwardMessages")
if i add line 21 : line21 Messages are not being forwarded ! getting below error !
Traceback (most recent call last):
File "/home/mdm/.local/lib/python3.8/site-packages/pyrogram/dispatcher.py", line 242, in handler_worker
await self.loop.run_in_executor(
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "main.py", line 21, in run
Logger.info(f"Message Incoming - from {message.sender_chat.id, message.sender_chat.title}")
AttributeError: 'NoneType' object has no attribute 'id'
'NoneType' object has no attribute 'id'
Traceback (most recent call last):
File "/home/mdm/.local/lib/python3.8/site-packages/pyrogram/dispatcher.py", line 242, in handler_worker
await self.loop.run_in_executor(
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "main.py", line 21, in run
Logger.info(f"Message Incoming - from {message.sender_chat.id, message.sender_chat.title}")
AttributeError: 'NoneType' object has no attribute 'id'
'NoneType' object has no attribute 'id'
Traceback (most recent call last):
File "/home/mdm/.local/lib/python3.8/site-packages/pyrogram/dispatcher.py", line 242, in handler_worker
await self.loop.run_in_executor(
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "main.py", line 21, in run
Logger.info(f"Message Incoming - from {message.sender_chat.id, message.sender_chat.title}")
AttributeError: 'NoneType' object has no attribute 'id'
if i remove this line : line21
Messages are being forwarded (works when no Copying forwarding restricted)
getting this error ERROR Telegram says: [400 CHAT_FORWARDS_RESTRICTED] - The chat restricts forwarding content (caused by "messages.ForwardMessages")
Can you try to clone into new directory? You took a look at the contents of your current file main py?
Mmm, are you trying to forward messages from another bot? Is the source a bot?
Mmm, are you trying to forward messages from another bot? Is the source a bot?
Yes ! am trying to forward the messages from the bot (source) ! and the source (bot) having "copying and forward restriction"
Can you try to clone into new directory? You took a look at the contents of your current file main py?
Manually copy pasted the Main.py to my local source still getting the same error!
Mmm, are you trying to forward messages from another bot? Is the source a bot?
Yes ! am trying to forward the messages from the bot (source) ! and the source (bot) having "copying and forward restriction"
Oh, ok... from bot. This changes everything 😅
Mmm, are you trying to forward messages from another bot? Is the source a bot?
Yes ! am trying to forward the messages from the bot (source) ! and the source (bot) having "copying and forward restriction"
Oh, ok... from bot. This changes everything sweat_smile
some function is working fine! some messages are having "copy forward disabled" in same chat (source) which is getting forwarded from bot (source) unless i removed line21 !
some messages which are "copying forward restricted" not getting forward from bot (source)!
Note: iam mentioning about same chat scenario which is bot chat as (source channel)
Hello ! There !
new issue found !
List of issues:
2022-05-20 02:08:31 ERROR Telegram says: [400 CHAT_FORWARDS_RESTRICTED] - The chat restricts forwarding content (caused by "messages.ForwardMessages")