-
I hosted my telegram forwarder using link provided on Heroku but it is not forwarding any message. Can you please help what am I missing ? I am doing this first time. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
https://prnt.sc/102a3yr After further analysis in log I see below error message: raise Exception("Your FROM_CHATS list does not contain valid integers.") using =====>heroku logs --tail --app myappname Chat ID used in FROM_CHATS Field is like -1001431171975, -1001431171922. It has minus sign in front because it is from Channel and I like to forward message coming to specific channel I am part of. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/keselekpermen69/Telegram_Forwarder/blob/adc0ffd3aa8d70aae7377e69f364409d3c3a10c1/forwarder/__init__.py#L24 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
https://github.com/keselekpermen69/Telegram_Forwarder/blob/adc0ffd3aa8d70aae7377e69f364409d3c3a10c1/forwarder/__init__.py#L24
From here, the list of chat ids should be seperated by a
space
not acommas
. So your FROM_CHATS vars would be like-1001431171975 -1001431171922
etc.The chat_id indeed should have a minus sign just leave it as it is.