Skip to content

Commit a960dec

Browse files
committed
Update Pyrogram to v2.0.11
Update to Pyrogram v2.0.11 from the latest commit on the official repo https://github.com/pyrogram/pyrogram/
1 parent afe897a commit a960dec

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/python.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11-
os: [ubuntu-latest, macos-latest, windows-latest]
12-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
11+
os: [ubuntu-latest, macos-latest]
12+
python-version: ["3.7", "3.8", "3.9", "3.10"]
1313

1414
steps:
1515
- uses: actions/checkout@v2
@@ -27,8 +27,8 @@ jobs:
2727
2828
- name: Generate API
2929
run: |
30-
python setup.py generate --api
31-
python setup.py generate --docs
30+
make venv
31+
make api
3232
3333
- name: Run tests
3434
run: |

pyrogram/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# You should have received a copy of the GNU Lesser General Public License
1717
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

19-
__version__ = "2.0.10"
19+
__version__ = "2.0.11"
2020
__license__ = "GNU Lesser General Public License v3.0 (LGPL-3.0)"
2121
__copyright__ = "Copyright (C) 2017-present Dan <https://github.com/delivrance>"
2222

pyrogram/methods/decorators/on_edited_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def decorator(func: Callable) -> Callable:
5151

5252
func.handlers.append(
5353
(
54-
pyrogram.handlers.MessageHandler(func, self),
54+
pyrogram.handlers.EditedMessageHandler(func, self),
5555
group if filters is None else filters
5656
)
5757
)

0 commit comments

Comments
 (0)