-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The reply is not getting the contacting user #5
Comments
I have the same problem... |
same |
Same, trace ERROR:telegram.ext.dispatcher:No error handlers are registered, logging exception.
Traceback (most recent call last):
File "/app/.heroku/python/lib/python3.9/site-packages/telegram/ext/dispatcher.py", line 555, in process_update
handler.handle_update(update, self, check, context)
File "/app/.heroku/python/lib/python3.9/site-packages/telegram/ext/handler.py", line 198, in handle_update
return self.callback(update, context)
File "/app/handlers.py", line 47, in forward_to_user
user_id = update.message.reply_to_message.forward_from.id
AttributeError: 'NoneType' object has no attribute 'id' |
lol, same |
SOLUTION: |
Do yo mean line 54? telegram-support-bot/handlers.py Line 54 in 93782bf
|
oh, I see |
Can somebody help please? I changed line 54 to user_id = update.message.reply_to_message.forward_from.id but it didn't help |
Can you help please? I changed line 54 to user_id = update.message.reply_to_message.forward_from.id but it didn't help |
The app is deployed on heroku. If a user that needs support starts the bot the bot is messaging hand emoji and I am getting the contacted user info. I am getting forwarded messages of users from the bot. But if I reply to the forwarded message my message is being forwarded to myself and the owner of the message is not gettin my message.
I have tried to restart all dynos. How can I fix the problem?
The text was updated successfully, but these errors were encountered: