Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages