Pytdbot 0.10.2.dev0__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.
@@ -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.dev0
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
@@ -135,6 +135,18 @@ asyncio.run(client.run())
135
135
 
136
136
  For more examples, check the [examples](https://github.com/pytdbot/client/tree/main/examples) folder.
137
137
 
138
+ ### Using AI agents
139
+
140
+ Pytdbot includes a skill and a local docs CLI so coding agents can use the library correctly (bound methods, helpers, TDLib types, and so on)
141
+
142
+ 1. Install [Pytdbot](#installation)
143
+ 2. Point your agent at the skill file:
144
+ - In this repo: [`pytdbot/ai/SKILL.md`](pytdbot/ai/SKILL.md)
145
+ - or using `curl -O "https://raw.githubusercontent.com/pytdbot/client/refs/heads/main/pytdbot/ai/SKILL.md"`
146
+ 3. Register it the way your tool expects (project skill, agent rule, or “read this file first”)
147
+
148
+ The skill explains how Pytdbot is meant to be used; the CLI returns live signatures from your installed version.
149
+
138
150
  # Thanks to
139
151
 
140
152
  - You for viewing or using this project.
@@ -1,14 +1,20 @@
1
- pytdbot/__init__.py,sha256=wUXcek5K5spELyp-fvYdS-YRyJi32y1XhTp5YwHLEdQ,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
+ pytdbot/docs.py,sha256=8u4_lJOfUw9PDrPw-3aimEJonUKKNkxwNxp-HL26qnY,6094
4
5
  pytdbot/filters.py,sha256=V6b09AGNVrw4ipgRMFYD9jJKAcNo9_WIJ-bSaGwSyf4,1549
6
+ pytdbot/td_api.json,sha256=7KNa7rLJrl4VuZqD7Y7i-SybDN5P-DaE87-3likvIeo,2454191
7
+ pytdbot/ai/SKILL.md,sha256=XRlRgs9T4BMMN6NwyAoLfw0xadG0_19vX_EcHJZ1VYg,8813
8
+ pytdbot/ai/__init__.py,sha256=8XUaxe2QGOUABJGjrban8y-6fVS3GH_rMvnuZOGJZXw,144
9
+ pytdbot/ai/helpers.json,sha256=OphWy1k1FuiPfwm5wrirtAytZ_VxqTM9pMpFAQjf3TA,178910
10
+ pytdbot/ai/lookup.py,sha256=Neg_PEmSezQ1_aKnKi3yuqtvm2yjPJk6vhJOgeG_i9c,11416
5
11
  pytdbot/exception/__init__.py,sha256=KCO1OF5xjKz2k9nUMzSGUITva-Y1Mb4N54kE-MEtnsg,783
6
12
  pytdbot/handlers/__init__.py,sha256=ap6He04bk1v9BnYxhY6-_wrD7gBk39U9wrhJagxyOOw,101
7
13
  pytdbot/handlers/decorators.py,sha256=qZFeYbPMh07aLUtLfNnlenvz8x4Z33L48ASWC8mqEKQ,9147
8
14
  pytdbot/handlers/handler.py,sha256=XILBjMhpwvPcVUssv2XP_tsoMlo9qjgqTvNHrftnOZI,1295
9
15
  pytdbot/handlers/td_updates.py,sha256=A53Drcyxv-qr-hnY_32BsHawG7Fzt6XdakGuwNulXD0,393642
10
16
  pytdbot/methods/__init__.py,sha256=naVHl8-m9DU43Z_QUFYQOPes6NDz86JLWjb2l0q59ws,53
11
- pytdbot/methods/methods.py,sha256=BGf9MAXmVT_0GL5p0yuSjyIdmlnrtaqSCg60m_LvZ-Y,77557
17
+ pytdbot/methods/methods.py,sha256=dh_3valNfviNX2-AB5U_lFufWDETfKU62hr05hrdX-c,77862
12
18
  pytdbot/methods/td_functions.py,sha256=KsJv75ifUXsTIkW5aAQexa4E6Cra5BkbFhZzSODKjLU,953988
13
19
  pytdbot/tdjson/__init__.py,sha256=8dDx6wH4IlUMQqvUrecAUafrY7-E2fvF6ZIYvuJmQ_A,50
14
20
  pytdbot/tdjson/tdjson.py,sha256=e-qEwqAl_DxnpowTp_Be2WwhEbvbx8eNAM6n7RKSKEw,5303
@@ -18,7 +24,7 @@ pytdbot/types/bound_methods/__init__.py,sha256=RhuXwf1YXmX0-L-BrO5vLpz04KFXVC90_
18
24
  pytdbot/types/bound_methods/callback_query.py,sha256=XTtvs24mdKKbgsDWfs6kf6fXr1b4cirOAVQW0yAdUGE,4902
19
25
  pytdbot/types/bound_methods/chatActions.py,sha256=-Z3lGXPLu-ijZxnEKmpvne8Qs3NKJe4EpO6OR_XHKn0,4008
20
26
  pytdbot/types/bound_methods/file.py,sha256=6KlnRmJK002r8lBXhhAfi1HeM-WGqidrkrS93Ffrx_g,1634
21
- pytdbot/types/bound_methods/message.py,sha256=whJf9gHgLRKPOjQS0xby8IB3xiDtfldoiIHdJu2YuBY,44110
27
+ pytdbot/types/bound_methods/message.py,sha256=SOOHFa0LTmfyrLQ_pybSj7s2YGMaAiXoOEW8DeD4CpE,44014
22
28
  pytdbot/types/bound_methods/sender_id.py,sha256=cMaKJ9pl1b-Dp6cRL4-bg5fkOwFI6bwdk3Vgml-Ursg,880
23
29
  pytdbot/types/plugins/__init__.py,sha256=Svt51GU-eb_6eLfT94o9BEAnpzvehDG2keUBpyd1sMU,1463
24
30
  pytdbot/types/tdserver/__init__.py,sha256=ggFLR_CvCGY5enO8Pjo_168fkTJk0fbv_uTuGDP2nHs,158
@@ -35,8 +41,9 @@ pytdbot/utils/rich_messages.py,sha256=OiXA6AiByshnV68c1J9lrrA1O3YATyBlIpVXDcnmaO
35
41
  pytdbot/utils/strings.py,sha256=NjTArf4zkOV3j2kerJfbA47lmuwZ20Xh_ppZ-pETQ0c,1203
36
42
  pytdbot/utils/text_format.py,sha256=g-PvtYr0dvltCa120IcEMff6LnBeI_F_6m7anYtEFaE,9762
37
43
  pytdbot/utils/webapps.py,sha256=qD8j3wpgAn2KgxEZMoh7k8FEom8JNiPN3rKweAS2lGw,2428
38
- pytdbot-0.10.2.dev0.dist-info/licenses/LICENSE,sha256=Y77J1RSAYfRz6kBjIWq81eWgLFQ_Su_b1l5rWthsHCM,1078
39
- pytdbot-0.10.2.dev0.dist-info/METADATA,sha256=is9NedFpr-Z3cmKpFjEPe8SoVjgQsZcEX9Q1wDQtUgo,11026
40
- pytdbot-0.10.2.dev0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
41
- pytdbot-0.10.2.dev0.dist-info/top_level.txt,sha256=EkLKG-BZysNAC-td3TJQQAomlT6YsvKWwei1Pzk6Oqg,8
42
- pytdbot-0.10.2.dev0.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,,
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ pytdbot-docs = pytdbot.docs:main