Pytdbot 0.10.2.dev1__py3-none-any.whl → 0.10.2.dev2__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.
pytdbot/__init__.py CHANGED
@@ -13,7 +13,7 @@ __all__ = [
13
13
  "Client",
14
14
  ]
15
15
 
16
- __version__ = "0.10.2.dev1"
16
+ __version__ = "0.10.2.dev2"
17
17
  __copyright__ = "Copyright (c) 2022-2026 Pytdbot, AYMENJD"
18
18
  __license__ = "MIT License"
19
19
 
@@ -1,3 +1,5 @@
1
+ from pytdbot.types.td_types import InputSticker, InputVideoNote, InputVoiceNote
2
+
1
3
  from ..types import (
2
4
  ChatTypeSupergroup,
3
5
  Error,
@@ -1292,7 +1294,6 @@ class Methods(TDLibFunctions):
1292
1294
  reply_markup (:class:`~pytdbot.types.ReplyMarkupInlineKeyboard` | :class:`~pytdbot.types.ReplyMarkupShowKeyboard` | :class:`~pytdbot.types.ReplyMarkupForceReply` | :class:`~pytdbot.types.ReplyMarkupRemoveKeyboard`, *optional*):
1293
1295
  The message reply markup
1294
1296
 
1295
-
1296
1297
  Returns:
1297
1298
  :class:`~pytdbot.types.Message`
1298
1299
 
@@ -1304,10 +1305,12 @@ class Methods(TDLibFunctions):
1304
1305
  return await self.sendMessageWithContent(
1305
1306
  chat_id=chat_id,
1306
1307
  content=InputMessageVideoNote(
1307
- video_note=video_note,
1308
- thumbnail=thumbnail,
1309
- duration=duration,
1310
- length=length,
1308
+ video_note=InputVideoNote(
1309
+ video_note=video_note,
1310
+ thumbnail=thumbnail,
1311
+ duration=duration,
1312
+ length=length,
1313
+ ),
1311
1314
  ),
1312
1315
  disable_notification=disable_notification,
1313
1316
  protect_content=protect_content,
@@ -1422,9 +1425,11 @@ class Methods(TDLibFunctions):
1422
1425
  return await self.sendMessageWithContent(
1423
1426
  chat_id=chat_id,
1424
1427
  content=InputMessageVoiceNote(
1425
- voice_note=voice,
1426
- waveform=waveform,
1427
- duration=duration,
1428
+ voice_note=InputVoiceNote(
1429
+ voice_note=voice,
1430
+ duration=duration,
1431
+ waveform=waveform,
1432
+ ),
1428
1433
  caption=caption,
1429
1434
  ),
1430
1435
  disable_notification=disable_notification,
@@ -1525,10 +1530,12 @@ class Methods(TDLibFunctions):
1525
1530
  return await self.sendMessageWithContent(
1526
1531
  chat_id=chat_id,
1527
1532
  content=InputMessageSticker(
1528
- sticker=sticker,
1529
- thumbnail=thumbnail,
1530
- width=width,
1531
- height=height,
1533
+ sticker=InputSticker(
1534
+ sticker=sticker,
1535
+ thumbnail=thumbnail,
1536
+ width=width,
1537
+ height=height,
1538
+ ),
1532
1539
  emoji=emoji,
1533
1540
  ),
1534
1541
  disable_notification=disable_notification,
@@ -581,7 +581,6 @@ class MessageBoundMethods:
581
581
  topic_id: pytdbot.types.MessageTopic = None,
582
582
  quote: pytdbot.types.InputTextQuote = None,
583
583
  no_reply: bool = False,
584
- ephemeral: bool = False,
585
584
  ):
586
585
  r"""Reply to the message with media album. Shortcut for :meth:`~pytdbot.Client.sendAlbum`."""
587
586
 
@@ -594,7 +593,6 @@ class MessageBoundMethods:
594
593
  topic_id=topic_id,
595
594
  quote=quote,
596
595
  reply_to_message_id=self.id if not no_reply else None,
597
- receiver_user_id=self.from_id if ephemeral else 0,
598
596
  )
599
597
 
600
598
  async def reply_text(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Pytdbot
3
- Version: 0.10.2.dev1
3
+ Version: 0.10.2.dev2
4
4
  Summary: Easy-to-use asynchronous TDLib wrapper for Python.
5
5
  Author-email: AYMEN A <let.me.code.safe@gmail.com>
6
6
  License-Expression: MIT
@@ -1,4 +1,4 @@
1
- pytdbot/__init__.py,sha256=1e5gvgCF9SIt9kcaYPWOQkVkOTRPFuQTKCdt2qeKLfg,424
1
+ pytdbot/__init__.py,sha256=cyhsNljGQgh_t8OyQ7KN2DiBRcw8J4_3sTbXc6fIlfI,424
2
2
  pytdbot/client.py,sha256=jbgKfZBQwyoWnr8ltT0SQxdXH_D6kPbjoYKIaY8OnWc,45952
3
3
  pytdbot/client_manager.py,sha256=jWWosyRY57XAL8u2UmsE9ftpLHhJG8moJxeSIvVjgFs,6515
4
4
  pytdbot/docs.py,sha256=8u4_lJOfUw9PDrPw-3aimEJonUKKNkxwNxp-HL26qnY,6094
@@ -14,7 +14,7 @@ pytdbot/handlers/decorators.py,sha256=qZFeYbPMh07aLUtLfNnlenvz8x4Z33L48ASWC8mqEK
14
14
  pytdbot/handlers/handler.py,sha256=XILBjMhpwvPcVUssv2XP_tsoMlo9qjgqTvNHrftnOZI,1295
15
15
  pytdbot/handlers/td_updates.py,sha256=A53Drcyxv-qr-hnY_32BsHawG7Fzt6XdakGuwNulXD0,393642
16
16
  pytdbot/methods/__init__.py,sha256=naVHl8-m9DU43Z_QUFYQOPes6NDz86JLWjb2l0q59ws,53
17
- pytdbot/methods/methods.py,sha256=BGf9MAXmVT_0GL5p0yuSjyIdmlnrtaqSCg60m_LvZ-Y,77557
17
+ pytdbot/methods/methods.py,sha256=dh_3valNfviNX2-AB5U_lFufWDETfKU62hr05hrdX-c,77862
18
18
  pytdbot/methods/td_functions.py,sha256=KsJv75ifUXsTIkW5aAQexa4E6Cra5BkbFhZzSODKjLU,953988
19
19
  pytdbot/tdjson/__init__.py,sha256=8dDx6wH4IlUMQqvUrecAUafrY7-E2fvF6ZIYvuJmQ_A,50
20
20
  pytdbot/tdjson/tdjson.py,sha256=e-qEwqAl_DxnpowTp_Be2WwhEbvbx8eNAM6n7RKSKEw,5303
@@ -24,7 +24,7 @@ pytdbot/types/bound_methods/__init__.py,sha256=RhuXwf1YXmX0-L-BrO5vLpz04KFXVC90_
24
24
  pytdbot/types/bound_methods/callback_query.py,sha256=XTtvs24mdKKbgsDWfs6kf6fXr1b4cirOAVQW0yAdUGE,4902
25
25
  pytdbot/types/bound_methods/chatActions.py,sha256=-Z3lGXPLu-ijZxnEKmpvne8Qs3NKJe4EpO6OR_XHKn0,4008
26
26
  pytdbot/types/bound_methods/file.py,sha256=6KlnRmJK002r8lBXhhAfi1HeM-WGqidrkrS93Ffrx_g,1634
27
- pytdbot/types/bound_methods/message.py,sha256=whJf9gHgLRKPOjQS0xby8IB3xiDtfldoiIHdJu2YuBY,44110
27
+ pytdbot/types/bound_methods/message.py,sha256=SOOHFa0LTmfyrLQ_pybSj7s2YGMaAiXoOEW8DeD4CpE,44014
28
28
  pytdbot/types/bound_methods/sender_id.py,sha256=cMaKJ9pl1b-Dp6cRL4-bg5fkOwFI6bwdk3Vgml-Ursg,880
29
29
  pytdbot/types/plugins/__init__.py,sha256=Svt51GU-eb_6eLfT94o9BEAnpzvehDG2keUBpyd1sMU,1463
30
30
  pytdbot/types/tdserver/__init__.py,sha256=ggFLR_CvCGY5enO8Pjo_168fkTJk0fbv_uTuGDP2nHs,158
@@ -41,9 +41,9 @@ pytdbot/utils/rich_messages.py,sha256=OiXA6AiByshnV68c1J9lrrA1O3YATyBlIpVXDcnmaO
41
41
  pytdbot/utils/strings.py,sha256=NjTArf4zkOV3j2kerJfbA47lmuwZ20Xh_ppZ-pETQ0c,1203
42
42
  pytdbot/utils/text_format.py,sha256=g-PvtYr0dvltCa120IcEMff6LnBeI_F_6m7anYtEFaE,9762
43
43
  pytdbot/utils/webapps.py,sha256=qD8j3wpgAn2KgxEZMoh7k8FEom8JNiPN3rKweAS2lGw,2428
44
- pytdbot-0.10.2.dev1.dist-info/licenses/LICENSE,sha256=Y77J1RSAYfRz6kBjIWq81eWgLFQ_Su_b1l5rWthsHCM,1078
45
- pytdbot-0.10.2.dev1.dist-info/METADATA,sha256=woK21w8LPAkS8fuBuRaTvwcNPmpgssKtvrT_iAhF_oc,11657
46
- pytdbot-0.10.2.dev1.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
47
- pytdbot-0.10.2.dev1.dist-info/entry_points.txt,sha256=HY6L3AuNNUG8A1MhnHfCvfIbWSebPZGkuMzkf1dRYtU,51
48
- pytdbot-0.10.2.dev1.dist-info/top_level.txt,sha256=EkLKG-BZysNAC-td3TJQQAomlT6YsvKWwei1Pzk6Oqg,8
49
- pytdbot-0.10.2.dev1.dist-info/RECORD,,
44
+ pytdbot-0.10.2.dev2.dist-info/licenses/LICENSE,sha256=Y77J1RSAYfRz6kBjIWq81eWgLFQ_Su_b1l5rWthsHCM,1078
45
+ pytdbot-0.10.2.dev2.dist-info/METADATA,sha256=IbPus7HC-VDBKkcJU6MpqWTzfWyjVNaSeD8gwq1VZMg,11657
46
+ pytdbot-0.10.2.dev2.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
47
+ pytdbot-0.10.2.dev2.dist-info/entry_points.txt,sha256=HY6L3AuNNUG8A1MhnHfCvfIbWSebPZGkuMzkf1dRYtU,51
48
+ pytdbot-0.10.2.dev2.dist-info/top_level.txt,sha256=EkLKG-BZysNAC-td3TJQQAomlT6YsvKWwei1Pzk6Oqg,8
49
+ pytdbot-0.10.2.dev2.dist-info/RECORD,,