Skip to content

Commit aa6c935

Browse files
committed
Merge develop -> asyncio-dev
2 parents df5de3e + 8681ca2 commit aa6c935

File tree

281 files changed

+4204
-3511
lines changed

Some content is hidden

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

281 files changed

+4204
-3511
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# User's personal information
1+
# Development
22
*.session
33
config.ini
4+
main.py
5+
unknown_errors.txt
46

57
# Pyrogram generated code
68
pyrogram/errors/exceptions/

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Pyrogram - Telegram MTProto API Client Library for Python
2-
Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
2+
Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
33

44
This file is part of Pyrogram.
55

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@ and documentation. Any help is appreciated!
8181

8282
### Copyright & License
8383

84-
- Copyright (C) 2017-2019 Dan Tès <<https://github.com/delivrance>>
84+
- Copyright (C) 2017-2020 Dan <<https://github.com/delivrance>>
8585
- Licensed under the terms of the [GNU Lesser General Public License v3 or later (LGPLv3+)](COPYING.lesser)

compiler/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Pyrogram - Telegram MTProto API Client Library for Python
2-
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
2+
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
33
#
44
# This file is part of Pyrogram.
55
#

compiler/api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Pyrogram - Telegram MTProto API Client Library for Python
2-
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
2+
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
33
#
44
# This file is part of Pyrogram.
55
#

compiler/api/compiler.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# Pyrogram - Telegram MTProto API Client Library for Python
2-
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
1+
# Pyrogram - Telegram MTProto API Client Library for Python
2+
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
33
#
4-
# This file is part of Pyrogram.
4+
# This file is part of Pyrogram.
55
#
6-
# Pyrogram is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU Lesser General Public License as published
8-
# by the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
6+
# Pyrogram is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU Lesser General Public License as published
8+
# by the Free Software Foundation, either version 3 of the License, or
9+
# (at your option) any later version.
1010
#
11-
# Pyrogram is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU Lesser General Public License for more details.
11+
# Pyrogram is distributed in the hope that it will be useful,
12+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# GNU Lesser General Public License for more details.
1515
#
16-
# You should have received a copy of the GNU Lesser General Public License
17-
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
16+
# You should have received a copy of the GNU Lesser General Public License
17+
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

1919
import os
2020
import re

compiler/api/source/main_api.tl

Lines changed: 97 additions & 18 deletions
Large diffs are not rendered by default.

compiler/docs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Pyrogram - Telegram MTProto API Client Library for Python
2-
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
2+
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
33
#
44
# This file is part of Pyrogram.
55
#

compiler/docs/compiler.py

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# Pyrogram - Telegram MTProto API Client Library for Python
2-
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
1+
# Pyrogram - Telegram MTProto API Client Library for Python
2+
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
33
#
4-
# This file is part of Pyrogram.
4+
# This file is part of Pyrogram.
55
#
6-
# Pyrogram is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU Lesser General Public License as published
8-
# by the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
6+
# Pyrogram is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU Lesser General Public License as published
8+
# by the Free Software Foundation, either version 3 of the License, or
9+
# (at your option) any later version.
1010
#
11-
# Pyrogram is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU Lesser General Public License for more details.
11+
# Pyrogram is distributed in the hope that it will be useful,
12+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# GNU Lesser General Public License for more details.
1515
#
16-
# You should have received a copy of the GNU Lesser General Public License
17-
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
16+
# You should have received a copy of the GNU Lesser General Public License
17+
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

1919
import ast
2020
import os
@@ -174,6 +174,7 @@ def get_title_list(s: str) -> list:
174174
vote_poll
175175
stop_poll
176176
retract_vote
177+
send_dice
177178
download_media
178179
""",
179180
chats="""
@@ -212,6 +213,7 @@ def get_title_list(s: str) -> list:
212213
create_supergroup
213214
delete_channel
214215
delete_supergroup
216+
set_slow_mode
215217
""",
216218
users="""
217219
Users
@@ -333,6 +335,7 @@ def get_title_list(s: str) -> list:
333335
WebPage
334336
Poll
335337
PollOption
338+
Dice
336339
""",
337340
bots_keyboard="""
338341
Bots & Keyboards

compiler/error/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Pyrogram - Telegram MTProto API Client Library for Python
2-
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
2+
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
33
#
44
# This file is part of Pyrogram.
55
#

0 commit comments

Comments
 (0)