New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

Pyrogram

Package Overview
Dependencies
Maintainers
1
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Pyrogram - pypi Package Compare versions

Comparing version
2.0.101
to
2.0.102
+1
-1
PKG-INFO
Metadata-Version: 2.1
Name: Pyrogram
Version: 2.0.101
Version: 2.0.102
Summary: Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

@@ -5,0 +5,0 @@ Home-page: https://github.com/pyrogram

Metadata-Version: 2.1
Name: Pyrogram
Version: 2.0.101
Version: 2.0.102
Summary: Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

@@ -5,0 +5,0 @@ Home-page: https://github.com/pyrogram

@@ -19,3 +19,3 @@ # Pyrogram - Telegram MTProto API Client Library for Python

__version__ = "2.0.101"
__version__ = "2.0.102"
__license__ = "GNU Lesser General Public License v3.0 (LGPL-3.0)"

@@ -22,0 +22,0 @@ __copyright__ = "Copyright (C) 2017-present Dan <https://github.com/delivrance>"

@@ -513,3 +513,3 @@ # Pyrogram - Telegram MTProto API Client Library for Python

peer_type = "group"
elif isinstance(peer, (raw.types.Channel, raw.types.ChannelForbidden)):
elif isinstance(peer, raw.types.Channel):
peer_id = utils.get_channel_id(peer.id)

@@ -523,2 +523,6 @@ access_hash = peer.access_hash

peer_type = "channel" if peer.broadcast else "supergroup"
elif isinstance(peer, raw.types.ChannelForbidden):
peer_id = utils.get_channel_id(peer.id)
access_hash = peer.access_hash
peer_type = "channel" if peer.broadcast else "supergroup"
else:

@@ -525,0 +529,0 @@ continue