pyrogrammod 2.4.0__py3-none-any.whl → 2.4.1__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.
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.4.0"
19
+ __version__ = "2.4.1"
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
 
@@ -1,4 +1,3 @@
1
- import os
2
1
  from typing import Union, Optional
3
2
 
4
3
  import pyrogram
@@ -55,7 +54,7 @@ class SendEphemeralMessage:
55
54
  peer=peer,
56
55
  receiver_id=receiver_peer,
57
56
  message=text,
58
- random_id=os.urandom(8),
57
+ random_id=self.rnd_id(),
59
58
  query_id=query_id
60
59
  )
61
60
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyrogrammod
3
- Version: 2.4.0
3
+ Version: 2.4.1
4
4
  Summary: Modified version of the Pyrogram Telegram MTProto API framework in Python for users and bots.
5
5
  Project-URL: Homepage, https://pyrogrammod.readthedocs.io
6
6
  Project-URL: Tracker, https://github.com/PyrogramMod/PyrogramMod/issues
@@ -1,4 +1,4 @@
1
- pyrogram/__init__.py,sha256=kI_N43DCf7J5PVHeTqHuzsWi0PYpNunqv8gCuVx4x2Y,1399
1
+ pyrogram/__init__.py,sha256=lpQJ3LWD1p20rUrfH_4-Q2bDiPrQXYUYPFIHKb4zs5s,1399
2
2
  pyrogram/client.py,sha256=wXRdEzswhHb7nOZ9V-Yayf8ATne2jH-qNwkDMLtWsKA,57849
3
3
  pyrogram/dispatcher.py,sha256=VESLSMGLEvv2bUD1PvVWE7kqZ_6Yx8H_OuZyBPddkxA,11406
4
4
  pyrogram/emoji.py,sha256=ixb3OXR1XpLf3BQpw8kWIpmbQRowRIaFedjdnuzljac,208021
@@ -198,7 +198,7 @@ pyrogram/methods/ephemeral/edit_ephemeral_message_reply_markup.py,sha256=VXVDfHd
198
198
  pyrogram/methods/ephemeral/edit_ephemeral_message_text.py,sha256=7bXFMpJDxlBfA7NChGMf81gv0kajTrqxJpqvWNlaWn0,2540
199
199
  pyrogram/methods/ephemeral/get_ephemeral_callback_answer.py,sha256=0NrIgTKSb7TasGEnZvfPUlmju2RpEoo2rRZcbhXIiTc,1245
200
200
  pyrogram/methods/ephemeral/report_ephemeral_message.py,sha256=gWu6ogeT9Fx_bfEE2w1LXO9WImTUp6xXmrBKVeKhEN4,1306
201
- pyrogram/methods/ephemeral/send_ephemeral_message.py,sha256=Z7E5uKGuIL0P3hMc8TykMvTFGve6Kugu8Bwzb8hnixg,1881
201
+ pyrogram/methods/ephemeral/send_ephemeral_message.py,sha256=qNIWYUQtMy8iIGJ__6EFgbLtFi3fJg_VkCIVGIGr8zI,1871
202
202
  pyrogram/methods/invite_links/__init__.py,sha256=jJAxU6EIgqJ8_NjLiI5fHJdczFed98Y-5cNJKfG8jGs,2435
203
203
  pyrogram/methods/invite_links/approve_all_chat_join_requests.py,sha256=Y8ls46X7Hx0mSAbhQEmTIZaqSeUIT0_4etVw2rmO0DQ,1894
204
204
  pyrogram/methods/invite_links/approve_chat_join_request.py,sha256=aKt3uVOdYzmSjlR17Thdt17iihAGSj4i0Ib4wszvQhI,1924
@@ -3674,9 +3674,9 @@ pyrogram/types/user_and_chats/video_chat_ended.py,sha256=J5xTIAMSGDz8_z-EGrKwkoJ
3674
3674
  pyrogram/types/user_and_chats/video_chat_members_invited.py,sha256=9QhonApJd1XjOeJu9fqx2_u6nIOTZhfXZw_tX9XXxd8,1610
3675
3675
  pyrogram/types/user_and_chats/video_chat_scheduled.py,sha256=rUvDXF8r-2MfsAZKAcaWb_UZt5VoHebPjeJXWRDHGSo,1531
3676
3676
  pyrogram/types/user_and_chats/video_chat_started.py,sha256=WOAuM_CnkRA-W_Iedx0fIHB9RJ-AsvJIiSF05HzLRdA,1043
3677
- pyrogrammod-2.4.0.dist-info/METADATA,sha256=QYvZsYjMXvoGmDyKt5Kj5wS7kj3YvhnGFMY4EaJ6MAw,6434
3678
- pyrogrammod-2.4.0.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
3679
- pyrogrammod-2.4.0.dist-info/licenses/COPYING,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
3680
- pyrogrammod-2.4.0.dist-info/licenses/COPYING.lesser,sha256=pWgb-bBdsU2Gd2kwAXxketnm5W_2u8_fIeWEgojfrxs,7651
3681
- pyrogrammod-2.4.0.dist-info/licenses/NOTICE,sha256=QL3iJdeVh_ZqRZZchyruQic5bYUWdx3yl0OkSUC2PQc,774
3682
- pyrogrammod-2.4.0.dist-info/RECORD,,
3677
+ pyrogrammod-2.4.1.dist-info/METADATA,sha256=sAZ52DS4kAC1Co6tCMmId_fMAJ5TMro8y0s6hFk3Ozs,6434
3678
+ pyrogrammod-2.4.1.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
3679
+ pyrogrammod-2.4.1.dist-info/licenses/COPYING,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
3680
+ pyrogrammod-2.4.1.dist-info/licenses/COPYING.lesser,sha256=pWgb-bBdsU2Gd2kwAXxketnm5W_2u8_fIeWEgojfrxs,7651
3681
+ pyrogrammod-2.4.1.dist-info/licenses/NOTICE,sha256=QL3iJdeVh_ZqRZZchyruQic5bYUWdx3yl0OkSUC2PQc,774
3682
+ pyrogrammod-2.4.1.dist-info/RECORD,,