How to Solve NameError: name 'Message' is not defined -- fbchat

Solution: Import the 'Message' module

To Solve the error, add the following line to the top of your code.

from fbchat.models import Message

 

For more information:
Python fbchat Message