A command line tool to login into Telegram with user or bot accounts.
Project description
tg-login
A command line tool to login into Telegram with user or bot accounts.
Why
Why the need of a seperate tool like tg-login
?
Installation
pip install tg-login
Usage
Usage: tg-login [OPTIONS]
A command line tool to login into Telegram with user or bot accounts.
Options:
-v, --version Show version and exit.
--help Show this message and exit.
The API_ID
,API_HASH
, BOT_TOKEN
, PHONE_NO
, can be passed as CLI options, or can be set as environment variables.
Provide either BOT_TOKEN
or PHONE_NO
. If both are found, tg-login
will use the bot account.
tg-login
by default generates the session string and saves it in your Telegram's Saved Messages.
If the --session=file
option is provided, it will generated a session file.
Projects using tg-login
Open a PR to add your project here!
Credits
Made with Telethon.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tg-login-0.0.1rc0.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for tg_login-0.0.1rc0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b149d6229082d8ff86dc126346ef93cd0c7811c76d475b661aa6805a85eafb7 |
|
MD5 | 27d28ed52981613fd6820c38c408daad |
|
BLAKE2b-256 | 01a6d059f64c59c9b619c5ea0ef4b7f1cd863fdf10419b96215eef050297021d |