Skip to content

alarbada/telegramapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Telegram API CLI program for getting channel messages

Software requirements:

  • python3 installed, preferably a python version compatible with Telethon. I used python3.6
  • telethon, preferably the last version.
  • nodejs.

How to install dependencies:

Run the following commands:

$ pip3 install telethon

Setting up the authentication:

Modify the file python_telethon/main.py with the credentials of your API, which you can get here

Running the program:

Just run the following command:

$ npm start

If the project is run the first time, the telethon package will ask for authentication details. Once those provided, telethon will automatically save the credentials into a file called session_cache, so the next time the project is run one will not have to provide again any SMS code and password.

Note that any auth errors will be swallowed up and won't show up on the console.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published