Package implements TelegramAccount class, which keeps your telegram session persistent with proxy
Project description
proxytg
This package implements TelegramAccount class, which can be used for automating tasks on telegram with proxy(uses https://mobileproxy.space api).
Usage
from proxytg.telegram import TelegramAccount
proxy_data = {
"key": "proxy_key_from_mobile_proxy",
"authorization": "mobile_proxy_api_authorization"
}
obj = TelegramAccount("account_name", proxy_data, "path_to_sessions_dir")
if object with given account_name already exist in sessions directory, then cookies and local storage would be loaded(to keep telegram session persistent)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
proxytg-0.2.0.tar.gz
(5.1 kB
view hashes)