WPyrogram 2.0.146__py3-none-any.whl → 2.0.147__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {WPyrogram-2.0.146.dist-info → WPyrogram-2.0.147.dist-info}/METADATA +1 -1
- {WPyrogram-2.0.146.dist-info → WPyrogram-2.0.147.dist-info}/RECORD +10 -10
- pyrogram/__init__.py +1 -1
- pyrogram/methods/chats/get_forum_topics_by_id.py +1 -1
- pyrogram/types/messages_and_media/message.py +2 -2
- {WPyrogram-2.0.146.dist-info → WPyrogram-2.0.147.dist-info}/COPYING +0 -0
- {WPyrogram-2.0.146.dist-info → WPyrogram-2.0.147.dist-info}/COPYING.lesser +0 -0
- {WPyrogram-2.0.146.dist-info → WPyrogram-2.0.147.dist-info}/NOTICE +0 -0
- {WPyrogram-2.0.146.dist-info → WPyrogram-2.0.147.dist-info}/WHEEL +0 -0
- {WPyrogram-2.0.146.dist-info → WPyrogram-2.0.147.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: WPyrogram
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.147
|
|
4
4
|
Summary: Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots - Woto's experimental fork
|
|
5
5
|
Home-page: https://github.com/ALiwoto/WPyrogram
|
|
6
6
|
Download-URL: https://github.com/ALiwoto/WPyrogram
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pyrogram/__init__.py,sha256=
|
|
1
|
+
pyrogram/__init__.py,sha256=QrAKaJkSQxFSx17ZamjTUD8F_fRNVIjWH3K5VrLkFAI,1401
|
|
2
2
|
pyrogram/client.py,sha256=Dh0K4t-U6aioFSTFpftfzt37Wl-I9JoRdXjHTGtKaCY,50646
|
|
3
3
|
pyrogram/dispatcher.py,sha256=jkTiOYhImW8BiPNmSobuDkpyin135Po0WDkLgTMDvCY,15636
|
|
4
4
|
pyrogram/emoji.py,sha256=ixb3OXR1XpLf3BQpw8kWIpmbQRowRIaFedjdnuzljac,208021
|
|
@@ -144,7 +144,7 @@ pyrogram/methods/chats/get_dialogs.py,sha256=sfDUfWxvC6cOT9BFxur81tr1NeIfbq8szYz
|
|
|
144
144
|
pyrogram/methods/chats/get_dialogs_count.py,sha256=0JagwclwbH6ws3jkMvyGbtjmsYFbWWBTKJUPz43Knjs,2096
|
|
145
145
|
pyrogram/methods/chats/get_folders.py,sha256=YGMNvjrbqipEUJuSpVFDi5GsUv-ucBgEe5adXH2Nokw,3603
|
|
146
146
|
pyrogram/methods/chats/get_forum_topics.py,sha256=AjY3EzZohPtm2ollJVXEn7VGQc-3oICsjdXoDBuTrHY,3284
|
|
147
|
-
pyrogram/methods/chats/get_forum_topics_by_id.py,sha256=
|
|
147
|
+
pyrogram/methods/chats/get_forum_topics_by_id.py,sha256=IyH1hx4ZHXIoUkabEibn6v40lIFLrdK0p8Rb-hhFnaA,3793
|
|
148
148
|
pyrogram/methods/chats/get_nearby_chats.py,sha256=sOoNjQ9qHKzD4UYoVusMM5G65KnqzqpzzwLwByJf6tc,2401
|
|
149
149
|
pyrogram/methods/chats/get_personal_channels.py,sha256=_2PqL64zXjR9DgzajeStIWkrgyS7lEdJjQwoLSvySUk,1653
|
|
150
150
|
pyrogram/methods/chats/get_send_as_chats.py,sha256=bY6VQnm3J6nezq5lhaBtPxu5-Co-Ti2sZki2XW5Q8JI,2151
|
|
@@ -3065,7 +3065,7 @@ pyrogram/types/messages_and_media/giveaway.py,sha256=WYzjT45XGjdxosaiEw0HZiGNkZ4
|
|
|
3065
3065
|
pyrogram/types/messages_and_media/giveaway_result.py,sha256=l8yZvXBPdCHLKChHjVrB0nSHK4NCaDc3YOm97q9bnY4,4745
|
|
3066
3066
|
pyrogram/types/messages_and_media/invoice.py,sha256=BMwWI8JwKdub1UGje2rP-ELaJFR4HjaW864M6Yx_a3U,3261
|
|
3067
3067
|
pyrogram/types/messages_and_media/location.py,sha256=IYwxV-4iv1sPQiil3wimLhf6mYl-pwfb5d_MzCc_R-Y,1660
|
|
3068
|
-
pyrogram/types/messages_and_media/message.py,sha256=
|
|
3068
|
+
pyrogram/types/messages_and_media/message.py,sha256=h55dLCKQLT1htYHXw7WwiwA8znGxSSn3IxoTM5Lj3jY,204971
|
|
3069
3069
|
pyrogram/types/messages_and_media/message_entity.py,sha256=OYEqKHhABA308m2Fo3tjAHwov-FmXmVNV6mB0N_hlpE,4760
|
|
3070
3070
|
pyrogram/types/messages_and_media/message_entity_type.py,sha256=tsAs7zQ_QuAQ2eCV5L9oQmXltJ3VpLUn5suZVJ_RbLs,2464
|
|
3071
3071
|
pyrogram/types/messages_and_media/message_media_type.py,sha256=EgSJKsJm4SYjMOx-ce-m3EWMNVCrBPZkrSGmJqDPPr4,1599
|
|
@@ -3129,10 +3129,10 @@ pyrogram/types/user_and_chats/video_chat_ended.py,sha256=J5xTIAMSGDz8_z-EGrKwkoJ
|
|
|
3129
3129
|
pyrogram/types/user_and_chats/video_chat_members_invited.py,sha256=9QhonApJd1XjOeJu9fqx2_u6nIOTZhfXZw_tX9XXxd8,1610
|
|
3130
3130
|
pyrogram/types/user_and_chats/video_chat_scheduled.py,sha256=rUvDXF8r-2MfsAZKAcaWb_UZt5VoHebPjeJXWRDHGSo,1531
|
|
3131
3131
|
pyrogram/types/user_and_chats/video_chat_started.py,sha256=WOAuM_CnkRA-W_Iedx0fIHB9RJ-AsvJIiSF05HzLRdA,1043
|
|
3132
|
-
WPyrogram-2.0.
|
|
3133
|
-
WPyrogram-2.0.
|
|
3134
|
-
WPyrogram-2.0.
|
|
3135
|
-
WPyrogram-2.0.
|
|
3136
|
-
WPyrogram-2.0.
|
|
3137
|
-
WPyrogram-2.0.
|
|
3138
|
-
WPyrogram-2.0.
|
|
3132
|
+
WPyrogram-2.0.147.dist-info/COPYING,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
|
3133
|
+
WPyrogram-2.0.147.dist-info/COPYING.lesser,sha256=pWgb-bBdsU2Gd2kwAXxketnm5W_2u8_fIeWEgojfrxs,7651
|
|
3134
|
+
WPyrogram-2.0.147.dist-info/METADATA,sha256=M_QoiUxpnGirPTS5WNwTy4Y7YyQE4A6TZj6clWxwKNM,4924
|
|
3135
|
+
WPyrogram-2.0.147.dist-info/NOTICE,sha256=QL3iJdeVh_ZqRZZchyruQic5bYUWdx3yl0OkSUC2PQc,774
|
|
3136
|
+
WPyrogram-2.0.147.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
3137
|
+
WPyrogram-2.0.147.dist-info/top_level.txt,sha256=vS2-tKX7dJ1uKjistE5CoOVbv4yqglA95SK0KFEDwl0,9
|
|
3138
|
+
WPyrogram-2.0.147.dist-info/RECORD,,
|
pyrogram/__init__.py
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
# You should have received a copy of the GNU Lesser General Public License
|
|
17
17
|
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
|
|
18
18
|
|
|
19
|
-
__version__ = "2.0.
|
|
19
|
+
__version__ = "2.0.147"
|
|
20
20
|
__license__ = "GNU Lesser General Public License v3.0 (LGPL-3.0)"
|
|
21
21
|
__copyright__ = "Copyright (C) 2017-present Dan <https://github.com/delivrance>"
|
|
22
22
|
|
|
@@ -1217,8 +1217,8 @@ class Message(Object, Update):
|
|
|
1217
1217
|
@property
|
|
1218
1218
|
def link(self) -> str:
|
|
1219
1219
|
if (
|
|
1220
|
-
self.chat.type in (enums.ChatType.GROUP, enums.ChatType.SUPERGROUP, enums.ChatType.CHANNEL)
|
|
1221
|
-
|
|
1220
|
+
(self.chat.type in (enums.ChatType.GROUP, enums.ChatType.SUPERGROUP, enums.ChatType.CHANNEL) and
|
|
1221
|
+
self.chat.username) or self.chat.username
|
|
1222
1222
|
):
|
|
1223
1223
|
return f"https://t.me/{self.chat.username}/{self.id}"
|
|
1224
1224
|
else:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|