S
S
SunnyWolf2020-06-04 09:42:03
Python
SunnyWolf, 2020-06-04 09:42:03

Error AttributeError: 'function' object has no attribute 'chat' what does it mean and what to do about it?

C:\Python34\lib\site-packages\telebot\__init__.py", line 1425, in register_next_step_handler
chat_id = message.chat.id
Error in some TeleBot library file, I understand

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
SunnyWolf, 2020-06-04
@NEDOprogrammer

Thanks everyone for the answers, I found an error in bot.register_next_step_handler(li, start ) it must have been beat like this bot.register_next_step_handler(go, li )

D
Dr. Bacon, 2020-06-04
@bacon

You have an error, they write to you that message is a function, and most likely, you created it yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question