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