2018-08-12 16:19:19 +00:00
|
|
|
# tgcloud
|
2018-08-12 16:11:50 +00:00
|
|
|
|
2018-07-04 04:23:27 +00:00
|
|
|
Opensourse Telegram based cloud storage
|
2018-07-04 18:04:59 +00:00
|
|
|
using:
|
2018-07-04 18:05:55 +00:00
|
|
|
|
2018-08-12 16:19:19 +00:00
|
|
|
```
|
2018-08-05 06:50:13 +00:00
|
|
|
from telegram_client_x import TelegramClientX
|
2018-08-05 06:50:35 +00:00
|
|
|
|
2018-08-05 06:50:13 +00:00
|
|
|
client = TelegramClientX(entity, api_id, api_hash, update_workers=None, spawn_read_thread=True)
|
2018-08-05 06:50:35 +00:00
|
|
|
|
2018-08-05 06:50:13 +00:00
|
|
|
client.set_upload_threads_count(24)
|
2018-08-05 06:50:35 +00:00
|
|
|
|
2018-08-05 06:50:13 +00:00
|
|
|
client.set_download_threads_count(8)
|
2018-08-12 16:19:19 +00:00
|
|
|
```
|