Skip to content

Commit f33a192

Browse files
authored
Merge branch 'develop' into develop
2 parents 437f26e + 2aefbfd commit f33a192

250 files changed

Lines changed: 6512 additions & 4669 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github: delivrance
1+
# github: delivrance
22
custom: https://docs.pyrogram.org/support-pyrogram

.github/ISSUE_TEMPLATE/question.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ labels: "question"
1010
# Important
1111
This place is for issues about Pyrogram, it's **not a forum**.
1212

13-
If you'd like to post a question, please move to https://stackoverflow.com or join the Telegram community at https://t.me/pyrogram.
13+
If you'd like to post a question, please move to https://stackoverflow.com or join the Telegram community at https://t.me/pyrogram. Useful information on how to ask good questions can be found here: https://stackoverflow.com/help/how-to-ask.
1414

15-
Thanks.
15+
Thanks.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ pyrogram/api/all.py
1111
# PyCharm stuff
1212
.idea/
1313

14+
# VS Code
15+
.vscode/
16+
1417
# Byte-compiled / optimized / DLL files
1518
__pycache__/
1619
*.py[cod]
@@ -78,6 +81,7 @@ instance/
7881

7982
# Sphinx documentation
8083
docs/_build/
84+
docs/source/_build
8185

8286
# PyBuilder
8387
target/

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
## Include
22
include README.md COPYING COPYING.lesser NOTICE requirements.txt
33
recursive-include compiler *.py *.tl *.tsv *.txt
4-
recursive-include pyrogram mime.types
4+
recursive-include pyrogram mime.types schema.sql
55

66
## Exclude
7-
prune pyrogram/api/errors/exceptions
7+
prune pyrogram/errors/exceptions
88
prune pyrogram/api/functions
99
prune pyrogram/api/types
1010
exclude pyrogram/api/all.py

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ app = Client("my_account")
2828

2929
@app.on_message(Filters.private)
3030
def hello(client, message):
31-
message.reply("Hello {}".format(message.from_user.first_name))
31+
message.reply_text("Hello {}".format(message.from_user.first_name))
3232

3333

3434
app.run()

compiler/api/compiler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,6 @@ def start():
478478

479479
f.write("\n 0xbc799737: \"pyrogram.api.core.BoolFalse\",")
480480
f.write("\n 0x997275b5: \"pyrogram.api.core.BoolTrue\",")
481-
f.write("\n 0x56730bcc: \"pyrogram.api.core.Null\",")
482481
f.write("\n 0x1cb5c415: \"pyrogram.api.core.Vector\",")
483482
f.write("\n 0x73f1f8dc: \"pyrogram.api.core.MsgContainer\",")
484483
f.write("\n 0xae500895: \"pyrogram.api.core.FutureSalts\",")

compiler/api/source/main_api.tl

Lines changed: 29 additions & 24 deletions
Large diffs are not rendered by default.

compiler/api/source/sys_msgs.tl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,15 @@ ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort;
5353
accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector<IpPort> = AccessPointRule;
5454
help.configSimple#5a592a6c date:int expires:int rules:vector<AccessPointRule> = help.ConfigSimple;
5555

56+
// tlsClientHello blocks:vector<TlsBlock> = TlsClientHello;
57+
//
58+
// tlsBlockString data:string = TlsBlock;
59+
// tlsBlockRandom length:int = TlsBlock;
60+
// tlsBlockZero length:int = TlsBlock;
61+
// tlsBlockDomain = TlsBlock;
62+
// tlsBlockGrease seed:int = TlsBlock;
63+
// tlsBlockScope entries:Vector<TlsBlock> = TlsBlock;
64+
5665
---functions---
5766

5867
rpc_drop_answer#58e4a740 req_msg_id:long = RpcDropAnswer;

0 commit comments

Comments
 (0)