External telegram feeder for AIL framework (with an automated user account)
Install python3 dependencies:
pip3 install -U -r requirements.txt
Copy config file:
cp etc/conf.cfg.sample etc/conf.cfg
Add your telegram account in etc/conf.cfg
:
App title
and Short name
in your application detailsAdd your API ID and Hash in etc/conf.cfg
:warning: Telegram API hash is secret and can't be revoked :warning:
You can use this API ID and hash with any phone number or even for bot accounts
feeder.py
python3 bin/feeder.py join -n CHANNEL_USERNAME
python3 bin/feeder.py join -i INVITE_HASH
Channels can also be joined from the mobile application on Apple or Android. Once the script is re-run, the newly joined channel will be added to the messages queue.
python3 bin/feeder.py leave CHANNEL_USERNAME/CHANNEL_ID
Channels can also be left from the mobile application on Apple or Android. If you leave a channel whilst the script is running there will likely be an exception error.
python3 bin/feeder.py chats
Running this action will export a python list of channel IDs your Telegram account has joined.
If you join too many channels, too quickly, you might experience a waiting period before you can join a new one.
python3 bin/feeder.py messages CHANNEL_USERNAME/CHANNEL_ID
python3 bin/feeder.py monitor