Run the script from your terminal using: python scrapper.py

Are you setting this up for a like Telegram, or

Log in to my.telegram.org to obtain your and API Hash .

Most scrapers require you to define a list of Telegram group usernames or IDs within the script to monitor for messages.