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 +1 -1
- pytdbot/methods/methods.py +19 -12
- pytdbot/types/bound_methods/message.py +0 -2
- {pytdbot-0.10.2.dev1.dist-info → pytdbot-0.10.2.dev2.dist-info}/METADATA +1 -1
- {pytdbot-0.10.2.dev1.dist-info → pytdbot-0.10.2.dev2.dist-info}/RECORD +9 -9
- {pytdbot-0.10.2.dev1.dist-info → pytdbot-0.10.2.dev2.dist-info}/WHEEL +0 -0
- {pytdbot-0.10.2.dev1.dist-info → pytdbot-0.10.2.dev2.dist-info}/entry_points.txt +0 -0
- {pytdbot-0.10.2.dev1.dist-info → pytdbot-0.10.2.dev2.dist-info}/licenses/LICENSE +0 -0
- {pytdbot-0.10.2.dev1.dist-info → pytdbot-0.10.2.dev2.dist-info}/top_level.txt +0 -0
pytdbot/__init__.py
CHANGED
pytdbot/methods/methods.py
CHANGED
|
@@ -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=
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
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=
|
|
1426
|
-
|
|
1427
|
-
|
|
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=
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
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,4 +1,4 @@
|
|
|
1
|
-
pytdbot/__init__.py,sha256=
|
|
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=
|
|
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=
|
|
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.
|
|
45
|
-
pytdbot-0.10.2.
|
|
46
|
-
pytdbot-0.10.2.
|
|
47
|
-
pytdbot-0.10.2.
|
|
48
|
-
pytdbot-0.10.2.
|
|
49
|
-
pytdbot-0.10.2.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|