Skip to main content

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)

Uploaded Source

Built Distribution

proxytg-0.2.0-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page