How to Solve NameError: name 'GetDialogsRequest' is not defined -- telethon
Solution: Import the 'GetDialogsRequest' module
To Solve the error, add the following line to the top of your code.
from telethon.tl.functions.messages import GetDialogsRequest
For more information:
Python telethon GetDialogsRequest