pyrogram-client 0.0.12.dev0__tar.gz → 0.0.13.dev0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyrogram_client-0.0.12.dev0/pyrogram_client.egg-info → pyrogram_client-0.0.13.dev0}/PKG-INFO +2 -2
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyproject.toml +1 -1
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyro_client/client/base.py +1 -1
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyro_client/client/file.py +2 -2
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyro_client/client/filler.py +2 -2
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0/pyrogram_client.egg-info}/PKG-INFO +2 -2
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyrogram_client.egg-info/SOURCES.txt +2 -0
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyrogram_client.egg-info/requires.txt +1 -1
- pyrogram_client-0.0.13.dev0/pyrogram_client.egg-info/scm_file_list.json +17 -0
- pyrogram_client-0.0.13.dev0/pyrogram_client.egg-info/scm_version.json +8 -0
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/.env.sample +0 -0
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/.gitignore +0 -0
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/.pre-commit-config.yaml +0 -0
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/makefile +0 -0
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyro_client/client/bot.py +0 -0
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyro_client/client/dc.json +0 -0
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyro_client/client/user.py +0 -0
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyro_client/loader.py +0 -0
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyro_client/storage.py +0 -0
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyrogram_client.egg-info/dependency_links.txt +0 -0
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyrogram_client.egg-info/top_level.txt +0 -0
- {pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/setup.cfg +0 -0
{pyrogram_client-0.0.12.dev0/pyrogram_client.egg-info → pyrogram_client-0.0.13.dev0}/PKG-INFO
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyrogram-client
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.13.dev0
|
|
4
4
|
Author-email: Mike Artemiev <mixartemev@gmail.com>
|
|
5
5
|
Project-URL: Homepage, https://gitlab.com/XyncNet/pyro-client
|
|
6
6
|
Project-URL: Repository, https://gitlab.com/XyncNet/pyro-client
|
|
7
7
|
Requires-Python: >=3.11
|
|
8
|
-
Requires-Dist:
|
|
8
|
+
Requires-Dist: xn-pyrogram>=2.2.23
|
|
9
9
|
Requires-Dist: tgcrypto
|
|
10
10
|
Requires-Dist: xn-auth
|
|
11
11
|
Provides-Extra: dev
|
|
@@ -44,7 +44,7 @@ class BaseClient(Client):
|
|
|
44
44
|
app = await App[20373304]
|
|
45
45
|
username, _ = await Username.get_or_create(id=self.uid)
|
|
46
46
|
bt = self.bot_token and self.bot_token.split(":")[1]
|
|
47
|
-
session = await Session.create(id=self.uid, api=app, user=username, is_bot=bt)
|
|
47
|
+
session = await Session.create(id=self.uid, api=app, user=username, is_bot=bt, dc_id=2)
|
|
48
48
|
self.api_id = app.id
|
|
49
49
|
self.api_hash = app.hsh
|
|
50
50
|
# await session.fetch_related("api")
|
|
@@ -17,8 +17,8 @@ from pyrogram.raw.types import (
|
|
|
17
17
|
)
|
|
18
18
|
from pyrogram.raw.types.upload import File
|
|
19
19
|
from pyrogram.types import Message
|
|
20
|
-
from
|
|
21
|
-
from
|
|
20
|
+
from xync_db import models
|
|
21
|
+
from xync_db.enums import FileType
|
|
22
22
|
|
|
23
23
|
from pyro_client.client.bot import BotClient
|
|
24
24
|
|
|
@@ -14,8 +14,8 @@ from pyrogram.types import (
|
|
|
14
14
|
InlineKeyboardButton,
|
|
15
15
|
InlineKeyboardMarkup,
|
|
16
16
|
)
|
|
17
|
-
from
|
|
18
|
-
from
|
|
17
|
+
from xync_db import models
|
|
18
|
+
from xync_db.enums import SynonymType, Party, Slip, AbuserType, NameType
|
|
19
19
|
|
|
20
20
|
from pyro_client.client.file import FileClient
|
|
21
21
|
|
{pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0/pyrogram_client.egg-info}/PKG-INFO
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyrogram-client
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.13.dev0
|
|
4
4
|
Author-email: Mike Artemiev <mixartemev@gmail.com>
|
|
5
5
|
Project-URL: Homepage, https://gitlab.com/XyncNet/pyro-client
|
|
6
6
|
Project-URL: Repository, https://gitlab.com/XyncNet/pyro-client
|
|
7
7
|
Requires-Python: >=3.11
|
|
8
|
-
Requires-Dist:
|
|
8
|
+
Requires-Dist: xn-pyrogram>=2.2.23
|
|
9
9
|
Requires-Dist: tgcrypto
|
|
10
10
|
Requires-Dist: xn-auth
|
|
11
11
|
Provides-Extra: dev
|
{pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyrogram_client.egg-info/SOURCES.txt
RENAMED
|
@@ -15,4 +15,6 @@ pyrogram_client.egg-info/PKG-INFO
|
|
|
15
15
|
pyrogram_client.egg-info/SOURCES.txt
|
|
16
16
|
pyrogram_client.egg-info/dependency_links.txt
|
|
17
17
|
pyrogram_client.egg-info/requires.txt
|
|
18
|
+
pyrogram_client.egg-info/scm_file_list.json
|
|
19
|
+
pyrogram_client.egg-info/scm_version.json
|
|
18
20
|
pyrogram_client.egg-info/top_level.txt
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"files": [
|
|
3
|
+
".env.sample",
|
|
4
|
+
".pre-commit-config.yaml",
|
|
5
|
+
"makefile",
|
|
6
|
+
"pyproject.toml",
|
|
7
|
+
".gitignore",
|
|
8
|
+
"pyro_client/loader.py",
|
|
9
|
+
"pyro_client/storage.py",
|
|
10
|
+
"pyro_client/client/dc.json",
|
|
11
|
+
"pyro_client/client/user.py",
|
|
12
|
+
"pyro_client/client/file.py",
|
|
13
|
+
"pyro_client/client/bot.py",
|
|
14
|
+
"pyro_client/client/filler.py",
|
|
15
|
+
"pyro_client/client/base.py"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyrogram_client-0.0.12.dev0 → pyrogram_client-0.0.13.dev0}/pyrogram_client.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|