Skip to content

Commit fe0ad5b

Browse files
committed
Update Pyrogram to v2.0.3
Update to Pyrogram v2.0.3 from the latest commit on the official repo https://github.com/pyrogram/pyrogram/
1 parent 4fe5f5f commit fe0ad5b

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

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

tests/filters/__init__.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

1919
class Client:
20-
@staticmethod
21-
async def get_me():
22-
return User("username")
20+
def __init__(self):
21+
self.username = "username"
22+
23+
async def get_me(self):
24+
return User(self.username)
2325

2426

2527
class User:

0 commit comments

Comments
 (0)