python-trueconf-bot 1.0.0__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.
Files changed (120) hide show
  1. python_trueconf_bot-1.0.0.dist-info/METADATA +115 -0
  2. python_trueconf_bot-1.0.0.dist-info/RECORD +120 -0
  3. python_trueconf_bot-1.0.0.dist-info/WHEEL +5 -0
  4. python_trueconf_bot-1.0.0.dist-info/licenses/LICENSE +32 -0
  5. python_trueconf_bot-1.0.0.dist-info/top_level.txt +1 -0
  6. trueconf/__init__.py +18 -0
  7. trueconf/_version.py +34 -0
  8. trueconf/client/__init__.py +0 -0
  9. trueconf/client/bot.py +1269 -0
  10. trueconf/client/context_controller.py +27 -0
  11. trueconf/client/session.py +60 -0
  12. trueconf/dispatcher/__init__.py +0 -0
  13. trueconf/dispatcher/dispatcher.py +56 -0
  14. trueconf/dispatcher/router.py +207 -0
  15. trueconf/enums/__init__.py +23 -0
  16. trueconf/enums/aouth_error.py +15 -0
  17. trueconf/enums/chat_participant_role.py +18 -0
  18. trueconf/enums/chat_type.py +17 -0
  19. trueconf/enums/envelope_author_type.py +13 -0
  20. trueconf/enums/file_ready_state.py +14 -0
  21. trueconf/enums/incoming_update_method.py +14 -0
  22. trueconf/enums/message_type.py +27 -0
  23. trueconf/enums/parse_mode.py +14 -0
  24. trueconf/enums/survey_type.py +6 -0
  25. trueconf/enums/update_type.py +14 -0
  26. trueconf/exceptions.py +17 -0
  27. trueconf/filters/__init__.py +11 -0
  28. trueconf/filters/base.py +8 -0
  29. trueconf/filters/command.py +32 -0
  30. trueconf/filters/instance_of.py +11 -0
  31. trueconf/filters/message.py +15 -0
  32. trueconf/filters/method.py +12 -0
  33. trueconf/loggers.py +4 -0
  34. trueconf/methods/__init__.py +59 -0
  35. trueconf/methods/add_participant_to_chat.py +22 -0
  36. trueconf/methods/auth.py +25 -0
  37. trueconf/methods/base.py +107 -0
  38. trueconf/methods/create_channel.py +20 -0
  39. trueconf/methods/create_group_chat.py +20 -0
  40. trueconf/methods/create_p2p_chat.py +20 -0
  41. trueconf/methods/edit_message.py +25 -0
  42. trueconf/methods/edit_survey.py +32 -0
  43. trueconf/methods/forward_message.py +22 -0
  44. trueconf/methods/get_chat_by_id.py +20 -0
  45. trueconf/methods/get_chat_history.py +24 -0
  46. trueconf/methods/get_chat_participants.py +24 -0
  47. trueconf/methods/get_chats.py +22 -0
  48. trueconf/methods/get_file_info.py +20 -0
  49. trueconf/methods/get_message_by_id.py +19 -0
  50. trueconf/methods/get_user_display_name.py +20 -0
  51. trueconf/methods/has_chat_participant.py +22 -0
  52. trueconf/methods/remove_chat.py +20 -0
  53. trueconf/methods/remove_message.py +23 -0
  54. trueconf/methods/remove_participant_from_chat.py +23 -0
  55. trueconf/methods/send_file.py +25 -0
  56. trueconf/methods/send_message.py +29 -0
  57. trueconf/methods/send_survey.py +40 -0
  58. trueconf/methods/subscribe_file_progress.py +21 -0
  59. trueconf/methods/unsubscribe_file_progress.py +21 -0
  60. trueconf/methods/upload_file.py +21 -0
  61. trueconf/py.typed +0 -0
  62. trueconf/types/__init__.py +25 -0
  63. trueconf/types/author_box.py +17 -0
  64. trueconf/types/chat_participant.py +11 -0
  65. trueconf/types/content/__init__.py +25 -0
  66. trueconf/types/content/attachment.py +14 -0
  67. trueconf/types/content/base.py +8 -0
  68. trueconf/types/content/chat_created.py +9 -0
  69. trueconf/types/content/document.py +71 -0
  70. trueconf/types/content/forward_message.py +21 -0
  71. trueconf/types/content/photo.py +70 -0
  72. trueconf/types/content/remove_participant.py +9 -0
  73. trueconf/types/content/sticker.py +70 -0
  74. trueconf/types/content/survey.py +19 -0
  75. trueconf/types/content/text.py +9 -0
  76. trueconf/types/content/video.py +71 -0
  77. trueconf/types/last_message.py +33 -0
  78. trueconf/types/message.py +411 -0
  79. trueconf/types/parser.py +90 -0
  80. trueconf/types/requests/__init__.py +21 -0
  81. trueconf/types/requests/added_chat_participant.py +40 -0
  82. trueconf/types/requests/created_channel.py +42 -0
  83. trueconf/types/requests/created_group_chat.py +42 -0
  84. trueconf/types/requests/created_personal_chat.py +42 -0
  85. trueconf/types/requests/edited_message.py +37 -0
  86. trueconf/types/requests/removed_chat.py +32 -0
  87. trueconf/types/requests/removed_chat_participant.py +39 -0
  88. trueconf/types/requests/removed_message.py +37 -0
  89. trueconf/types/requests/uploading_progress.py +34 -0
  90. trueconf/types/responses/__init__.py +57 -0
  91. trueconf/types/responses/add_chat_participant_response.py +8 -0
  92. trueconf/types/responses/api_error.py +38 -0
  93. trueconf/types/responses/auth_response_payload.py +9 -0
  94. trueconf/types/responses/create_channel_response.py +8 -0
  95. trueconf/types/responses/create_group_chat_response.py +8 -0
  96. trueconf/types/responses/create_p2p_chat_response.py +8 -0
  97. trueconf/types/responses/edit_message_response.py +9 -0
  98. trueconf/types/responses/edit_survey_response.py +9 -0
  99. trueconf/types/responses/forward_message_response.py +10 -0
  100. trueconf/types/responses/get_chat_by_id_response.py +13 -0
  101. trueconf/types/responses/get_chat_history_response.py +13 -0
  102. trueconf/types/responses/get_chat_participants_response.py +12 -0
  103. trueconf/types/responses/get_chats_response.py +12 -0
  104. trueconf/types/responses/get_file_info_response.py +24 -0
  105. trueconf/types/responses/get_message_by_id_response.py +26 -0
  106. trueconf/types/responses/get_user_display_name_response.py +8 -0
  107. trueconf/types/responses/has_chat_participant_response.py +8 -0
  108. trueconf/types/responses/remove_chat_participant_response.py +8 -0
  109. trueconf/types/responses/remove_chat_response.py +8 -0
  110. trueconf/types/responses/remove_message_response.py +8 -0
  111. trueconf/types/responses/send_file_response.py +10 -0
  112. trueconf/types/responses/send_message_response.py +10 -0
  113. trueconf/types/responses/send_survey_response.py +10 -0
  114. trueconf/types/responses/subscribe_file_progress_response.py +8 -0
  115. trueconf/types/responses/unsubscribe_file_progress_response.py +8 -0
  116. trueconf/types/responses/upload_file_response.py +8 -0
  117. trueconf/types/update.py +12 -0
  118. trueconf/utils/__init__.py +3 -0
  119. trueconf/utils/generate_secret_for_survey.py +10 -0
  120. trueconf/utils/token.py +78 -0
@@ -0,0 +1,115 @@
1
+ Metadata-Version: 2.4
2
+ Name: python-trueconf-bot
3
+ Version: 1.0.0
4
+ Summary: Lightweight and powerful framework for the TrueConf Server Chatbot API
5
+ Author-email: TrueConf LLC <info@trueconf.com>, Anton Baadzhi <baadzhianton@gmail.com>
6
+ License-Expression: BSD-3-Clause-Clear
7
+ Project-URL: Homepage, https://github.com/TrueConf/python-trueconf-bot
8
+ Project-URL: Repository, https://github.com/TrueConf/python-trueconf-bot
9
+ Project-URL: Documentation, https://trueconf.github.io/python-trueconf-bot
10
+ Project-URL: Issues, https://github.com/TrueConf/python-trueconf-bot/issues
11
+ Keywords: trueconf,chatbot,bot,api,framework,wrapper,asyncio,websocket
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Environment :: Console
14
+ Classifier: Framework :: AsyncIO
15
+ Classifier: Typing :: Typed
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
+ Classifier: Topic :: Communications :: Chat
23
+ Requires-Python: >=3.10
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ Requires-Dist: websockets
27
+ Requires-Dist: httpx
28
+ Requires-Dist: mashumaro
29
+ Requires-Dist: aiofiles
30
+ Requires-Dist: magic-filter
31
+ Dynamic: license-file
32
+
33
+ <p align="center">
34
+ <a href="https://trueconf.com" target="_blank" rel="noopener noreferrer">
35
+ <picture>
36
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/TrueConf/python-trueconf-bot/master/assets/logo.svg" type="image/svg">
37
+ <img width="150" src="https://raw.githubusercontent.com/TrueConf/python-trueconf-bot/master/assets/logo.svg" type="image/svg">
38
+ </picture>
39
+ </a>
40
+ </p>
41
+
42
+ <h1 align="center">python-trueconf-bot</h1>
43
+
44
+ <p align="center">This is a lightweight and powerful wrapper for the <a href="https://trueconf.com/docs/chatbot-connector/en/overview/">TrueConf Server Chatbot API</a> which enables quick integration of chatbots into TrueConf solutions.</p>
45
+
46
+ <p align="center">
47
+ <a href="https://t.me/trueconf_chat" target="_blank">
48
+ <img src="https://img.shields.io/badge/telegram-group-blue?style=flat-square&logo=telegram" />
49
+ </a>
50
+ <a href="https://chat.whatsapp.com/GY97WBzSgvD1cJG0dWEiGP">
51
+ <img src="https://img.shields.io/badge/whatsapp-commiunity-gree?style=flat-square&logo=whatsapp" />
52
+ </a>
53
+ <a href="#">
54
+ <img src="https://img.shields.io/github/stars/trueconf/python-trueconf-bot?style=social" />
55
+ </a>
56
+ </p>
57
+
58
+ <p align="center">
59
+ <img src="https://raw.githubusercontent.com/TrueConf/python-trueconf-bot/master/assets/head_en.png" alt="Example Bot in TrueConf" width="600" height="auto">
60
+ </p>
61
+
62
+ > 💡TIP
63
+ >
64
+ > We were inspired by the popular [aiogram](https://github.com/aiogram/aiogram/) library, so, the transition will be **simple** for developers already familiar with this library.
65
+
66
+ ## 📌 Key Features
67
+
68
+ * Easy integration with the [TrueConf Server Chatbot API](https://trueconf.com/docs/chatbot-connector/en/overview/)
69
+ * Quick start with the `python-trueconf-bot` package
70
+ * Modern and intuitive Python API (`from trueconf import Bot`)
71
+ * Support for all major TrueConf Server chatbot features.
72
+
73
+ > ☝️**IMPORTANT**
74
+ >
75
+ > Chatbot features are supported in TrueConf Server 5.5 or above, TrueConf Enterprise, and TrueConf Server Free.
76
+
77
+ ## 🚀 Example Bot
78
+
79
+ ```python
80
+ import asyncio
81
+ from trueconf import Bot, Dispatcher, Router, Message, F, ParseMode
82
+ from os import getenv
83
+
84
+ router = Router()
85
+ dp = Dispatcher()
86
+ dp.include_router(router)
87
+
88
+ TOKEN = getenv("TOKEN")
89
+
90
+ bot = Bot(server="video.example.com", token=TOKEN, dispatcher=dp)
91
+
92
+
93
+ @router.message(F.text)
94
+ async def echo(msg: Message):
95
+ await msg.answer(f"You says: **{msg.text}**", parse_mode=ParseMode.MARKDOWN)
96
+
97
+
98
+ async def main():
99
+ await bot.run()
100
+
101
+
102
+ if __name__ == "__main__":
103
+ asyncio.run(main())
104
+ ```
105
+
106
+ ## 📚 Documentation
107
+
108
+ 1. [TrueConf Server Chatbot API Documentation](https://trueconf.com/docs/chatbot-connector/en/overview/)
109
+ 2. [python-trueconf-bot Documentation](https://trueconf.github.io/python-trueconf-bot/)
110
+
111
+ All updates and releases are available in the repository. Track the build status and test coverage.
112
+
113
+ ---
114
+
115
+ Start building smart and reliable bots for TrueConf today with **python-trueconf-bot**!
@@ -0,0 +1,120 @@
1
+ python_trueconf_bot-1.0.0.dist-info/licenses/LICENSE,sha256=ftDuEzhr-yY_dsfpEQ2SKAP_dEAO-iPt96MBZq_K48o,1684
2
+ trueconf/__init__.py,sha256=JRFC0ca_JhwlDuzcnZ1r9bflnAmQyMYhJr_hBRYcdpw,394
3
+ trueconf/_version.py,sha256=vLA4ITz09S-S435nq6yTF6l3qiSz6w4euS1rOxXgd1M,704
4
+ trueconf/exceptions.py,sha256=2FtCzLY1XOZeV50dcMIa1PInwExN217omDwYky6Iq_E,285
5
+ trueconf/loggers.py,sha256=dOAwgGLPcrmD6aZI5jA3J9eMunbbOAvPRguk6zWMcNo,125
6
+ trueconf/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ trueconf/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ trueconf/client/bot.py,sha256=TjJRptAAjKL-cG2CUEO-lhPTr7NPL4eLomTRFfEUsBU,46354
9
+ trueconf/client/context_controller.py,sha256=_aItNHblyFbEqRsnbOM3ESgPqg2Pkji7xidTx0gb6zk,660
10
+ trueconf/client/session.py,sha256=0_YW6TfohvwMW8SMki4pob44IODh73ZuS_VdNzINYcQ,2291
11
+ trueconf/dispatcher/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
+ trueconf/dispatcher/dispatcher.py,sha256=7Fs7FbXDUlVlarGyZ4a94T7F998qO0uL0mdZtdMm6uM,1784
13
+ trueconf/dispatcher/router.py,sha256=e-LAQV1rhFcakpjygY1HLRJrMXz-nicRu0RbIbkUnIM,8253
14
+ trueconf/enums/__init__.py,sha256=YxjyW5UbyBAB8NWYqpxeSpuC6b_D7tghq0S4XWCySms,645
15
+ trueconf/enums/aouth_error.py,sha256=Ru5oZxam-2SnhSPZyapH79IlNrU_3t1l6RxsUJ4f5b8,462
16
+ trueconf/enums/chat_participant_role.py,sha256=2W-1nQdpvOWd8hDDgksPtykKdzewj6nwXWrvvHrQxGU,434
17
+ trueconf/enums/chat_type.py,sha256=dFN1FLEw8oJh6ZlNnoz17wuxvmtC3vYoQzxfbBW7-is,297
18
+ trueconf/enums/envelope_author_type.py,sha256=GknwmUtp0ko8NYtsDK1-4WndKrWue8jcHf54f_UeOwM,258
19
+ trueconf/enums/file_ready_state.py,sha256=WsAg6fB6VA-4J-NVkowOV1rW9hiIfG1yuESfnZNHTMo,301
20
+ trueconf/enums/incoming_update_method.py,sha256=196x58RIaBV72m__Lb5Gaegbk0R01xhksdCYOGAd9Xw,472
21
+ trueconf/enums/message_type.py,sha256=1qWcRC3b8MT_sVvKgBTcKQuud0BlTYPUn1BCjQxXpB8,652
22
+ trueconf/enums/parse_mode.py,sha256=eGGlOQ_DaC2dM2LJ3zyfHhmmbGlv9-WzsRyASDvAW0c,251
23
+ trueconf/enums/survey_type.py,sha256=740FxcxfrxGxZr-dlaOwuAwFhZbzF_aItK8wuE5_54Q,125
24
+ trueconf/enums/update_type.py,sha256=TYA6L5C8fIvpzzp5aqYK6kUMAbhT0mhiL2XGGf07t-M,291
25
+ trueconf/filters/__init__.py,sha256=j497UwNOOxifgtVtdmcM9-cW2-bhQGCwGPWQooNMPvk,223
26
+ trueconf/filters/base.py,sha256=n8OWqUYJPlM18T3eZQQFj4AlwfUvFkNMjMMgPZsgonk,182
27
+ trueconf/filters/command.py,sha256=IBiR3nO_TY7X26kOIPxSFnxU5NKK0fmvnxWWTTwIB7w,1225
28
+ trueconf/filters/instance_of.py,sha256=O5s2AfoGvsXdsZLdk0OnAqUss-PeUQG7-giDpiJle6s,287
29
+ trueconf/filters/message.py,sha256=-4mSEokWo_Bqnk2K7ci3dI1niJw3X9CVFHo5xo1Qtis,480
30
+ trueconf/filters/method.py,sha256=v2cB3N8fzKWqz1AGJaUjsswen8d58pafOt4eB0qJtgM,367
31
+ trueconf/methods/__init__.py,sha256=Z2h84RVVHu9RDl68cfw4FoWhVj3x0N5Ix2PCsWsnK8I,1847
32
+ trueconf/methods/add_participant_to_chat.py,sha256=gr3j8tko2Z0gdvxQwsq3xEGSEMsBb1QB2_y7Y0QD7ts,598
33
+ trueconf/methods/auth.py,sha256=KXyohRyPY-JTuiOTTX-bW7sesfV3e1baDfZ0IF9axN8,667
34
+ trueconf/methods/base.py,sha256=hUoUkXD_R4XtHAj4qbLDKuHFXpa38ra7VBsjwQypZFI,3241
35
+ trueconf/methods/create_channel.py,sha256=Lov3Dctpx4qWjpQuv_pMeyL8AEu2MDImTEYRlHiQKoQ,510
36
+ trueconf/methods/create_group_chat.py,sha256=D0D4GLQcqGgjohQHXIKwnZXgpTkqqN_4opSuSqxxf6k,523
37
+ trueconf/methods/create_p2p_chat.py,sha256=GhlgE6DgmRITEVqCEFZwO34wUg597gjguu4D509k1RU,516
38
+ trueconf/methods/edit_message.py,sha256=rIpBvIPS6bVFRmIgWmC4uc3MQUNyIiWydpmFqLRe_6w,666
39
+ trueconf/methods/edit_survey.py,sha256=Mbr3kb1gt5yIrqRhxXvwzHhd9dOgWo37FPYb1HBpytQ,991
40
+ trueconf/methods/forward_message.py,sha256=8R86f4Nx8P9wihyKBRvds88R7j9Dh1DF8DgDWyVHRjw,583
41
+ trueconf/methods/get_chat_by_id.py,sha256=dKe6Jexs2fChcZXDJLRrxKuxBEBHTVDRau4INaxJwL4,504
42
+ trueconf/methods/get_chat_history.py,sha256=82_c1d1-1KykvOivRmB4xx_klGrxd4IVXfaf3X1fI2E,660
43
+ trueconf/methods/get_chat_participants.py,sha256=rq2gmEZUnWzNtB1e2JMIbqlgXejdQvLqJ2Yj3lt-WAQ,676
44
+ trueconf/methods/get_chats.py,sha256=aEulHhcwYyChJNixlog098NH4SlY1k9HPwqDC7PzYLg,525
45
+ trueconf/methods/get_file_info.py,sha256=TEIf7jNcnqcHbITHTpJT6Dm8zIImoa45TNvXjKVQbSM,503
46
+ trueconf/methods/get_message_by_id.py,sha256=TCgur7HagdpFO7sti4mPRBLMwQkflaW6dGlDr9NgPHc,530
47
+ trueconf/methods/get_user_display_name.py,sha256=36-vbHICcofZYpLgurSFoE8IOP51yWJDA2dGQPrP2LU,547
48
+ trueconf/methods/has_chat_participant.py,sha256=BsDV_9GfLLBDuA-pmQdFXykOcXf3PLFSqgxhlDC1nV4,598
49
+ trueconf/methods/remove_chat.py,sha256=sEPVf645wOey6U5M66-nTwsWvYcOmAHjFAz7TzXsO4A,497
50
+ trueconf/methods/remove_message.py,sha256=mWhpF5INT6LHxnAyIqTKpinKB_8whj-H8EXXzuMpJHY,612
51
+ trueconf/methods/remove_participant_from_chat.py,sha256=LCxlTxsBm-AZ0mtTyVtt_siWZ1J-HBPkL0opStcuyls,651
52
+ trueconf/methods/send_file.py,sha256=815uSI52S-Vwsg-OqZv1l_o0w5sNUj8aeN3IL0z1EKk,642
53
+ trueconf/methods/send_message.py,sha256=MYjKUQvqD3li_QyuyTQnC3YOg5050gE2qXxDVc_pvuk,816
54
+ trueconf/methods/send_survey.py,sha256=HI6gCICQofkPyfZGsd2idX1ZK5-txvCHa6VZgFaOBPY,1275
55
+ trueconf/methods/subscribe_file_progress.py,sha256=3zVqz13Z9KNcPMm13fcX6VpRXKxiIm0-b8x_C_BDxTg,598
56
+ trueconf/methods/unsubscribe_file_progress.py,sha256=AtuvnmhZJSkGr3W1RJ_bMXVMUhK9P7L96oGNHLaxo3o,610
57
+ trueconf/methods/upload_file.py,sha256=gFKqdwyy7JEFbup9L_3xon4E1y_avhjwPmXlAo2rwoE,538
58
+ trueconf/types/__init__.py,sha256=cfNyaZ8EMRn7Dt_veNiTWJbGxgkkgn4SPJEtqrhaJ14,839
59
+ trueconf/types/author_box.py,sha256=G_9AxpBGIbZyWEHCfKg_DkEbte9f9FWt-JQ05gro3bU,356
60
+ trueconf/types/chat_participant.py,sha256=qNXxt0r8f16NmtGWc52UWW9Kf8kyq4SnvPd8Tlje9I4,324
61
+ trueconf/types/last_message.py,sha256=kIuQ1C6Pn_K5Q3JMEdnHfG09Bc-tWk_lmhnjPkWF6Cs,1314
62
+ trueconf/types/message.py,sha256=LwshG9pjbrMqsm7QsjFbi4E-S8w0W0KsaG3zusyab1c,16213
63
+ trueconf/types/parser.py,sha256=OnO-Ei_KUiQrigINoB9wwpfoA79gMq473glsgxHgquo,3453
64
+ trueconf/types/update.py,sha256=FS4d_NKjTHWtUiB6-ShPNkOll7hYFTl71gilLPRv45g,287
65
+ trueconf/types/content/__init__.py,sha256=9wpEMRUWc8Vj-kVY8GFSFUlmrjKhdlL2V1QlZvcC49E,645
66
+ trueconf/types/content/attachment.py,sha256=xzCsZluq9vLCJy1gS5oP2TXM5QkXWPbaoUxgtvUfmlY,635
67
+ trueconf/types/content/base.py,sha256=YONowJU5qhYcN_geuKcZkjlRlx9yTXlCLBpYQd5iFqY,219
68
+ trueconf/types/content/chat_created.py,sha256=p2VOmhoq4b5OlAmcqpM0wlYAk_QR4eTTVn1xGFlrNsI,277
69
+ trueconf/types/content/document.py,sha256=Xe0JAe3tF7T-8KBZcDuDyeXQtOvsuVeDhWI9WjZoHHI,2275
70
+ trueconf/types/content/forward_message.py,sha256=O-pYJjV8WdsAs1CjxMvHY9YzDXpebIb0vUTcHPZMKHU,876
71
+ trueconf/types/content/photo.py,sha256=lU-3r2T1zFhbgPWAmb_hEZUjY4nWgh0xlROg9ULXvJo,2297
72
+ trueconf/types/content/remove_participant.py,sha256=_luIKTOewolqAQZOWPDJWFQUxZFtgWLMXUlR7KB0JwU,259
73
+ trueconf/types/content/sticker.py,sha256=a42dABBZqY2XjVWnzCLVa9XhlY67CV88fRS_XDBD3_c,2312
74
+ trueconf/types/content/survey.py,sha256=YfbkYDvo_appjpMFBGIQsPS5UMF1T5iGNM2oZOooZ7s,636
75
+ trueconf/types/content/text.py,sha256=y-jYKl7VUWVhVPvQJ-UXfTo3MDic1ILeNSZ_ZiECDqw,272
76
+ trueconf/types/content/video.py,sha256=ERoVpF-B2zXvPR7CvCulHwiefqoa6LKIFfDOkMeCWCM,2297
77
+ trueconf/types/requests/__init__.py,sha256=dbFdQkEK3iKESTg_-9xuXp-iV8_ic3JOAY2_BteJWgM,672
78
+ trueconf/types/requests/added_chat_participant.py,sha256=PeJKYmhRzM-HKpM1nJXsjqXZd2IWbiVLgevaJWvSShg,1514
79
+ trueconf/types/requests/created_channel.py,sha256=Lr-L82hk3Eo6zRU3TAUUx61HzlfebsTWN8jpWs3Hl8Y,1617
80
+ trueconf/types/requests/created_group_chat.py,sha256=TSKg7tYpvNxRpAvbAKEou7gL6e_8HNgteuPsAixvwxg,1711
81
+ trueconf/types/requests/created_personal_chat.py,sha256=IQhjO26uM_LXgakYI1ngnTHpWyNEi7UR_r04bHfNyQI,1753
82
+ trueconf/types/requests/edited_message.py,sha256=_OUNF7W2YaT2mQCbnJ-0zu_vGX18U51jjfQTFJXIERA,1344
83
+ trueconf/types/requests/removed_chat.py,sha256=nEP_qqw6r0mOehSR5GhD4bwmQBw7cuUWizf7zsY1r98,1054
84
+ trueconf/types/requests/removed_chat_participant.py,sha256=ybaY7ykvZrgBAOg5I2BYvojw7MmzepBq0frxXmrVWL4,1600
85
+ trueconf/types/requests/removed_message.py,sha256=bhzQ9QUbTnq5EQY4MTEUWrpwMR9qs0I6u4k0wOedxZc,1450
86
+ trueconf/types/requests/uploading_progress.py,sha256=slKJPcbixdWiNQNnAsW_DgBc_bgV4mmFlshmS4ZBnvM,1201
87
+ trueconf/types/responses/__init__.py,sha256=5wh4cHAMwFsqHi-wiWhbQsyIu4dIVFf7GFP90fnN0t4,2398
88
+ trueconf/types/responses/add_chat_participant_response.py,sha256=DpClmu17xGcxeJ5k-qA-N5sN80F4fXwNqrzegenhTTw,186
89
+ trueconf/types/responses/api_error.py,sha256=uyhN8oWt_hKAar-jk_R2jFApIuhedeyeM5VnXscL_JM,1109
90
+ trueconf/types/responses/auth_response_payload.py,sha256=uGorHsibz4PWw-tN0GvjkfJlmoRqWVQA-znfgVncKvc,299
91
+ trueconf/types/responses/create_channel_response.py,sha256=pUkaSRLd5roaMv3NZIfOeBLtJQ6h3Q_NkrT64IH7Nds,234
92
+ trueconf/types/responses/create_group_chat_response.py,sha256=zdrHks9TjdSC_1BhyhhIFjQ2zIbJQnAk3xnUX0jw7QA,236
93
+ trueconf/types/responses/create_p2p_chat_response.py,sha256=C5tVeCQRZDRp8MKq3YOn0f2W3N0wNko7QNvbts36JHk,234
94
+ trueconf/types/responses/edit_message_response.py,sha256=r6XNFfyRwEwdLgr92VJtS0bURoYNwnT0hXcFDLI7N-U,256
95
+ trueconf/types/responses/edit_survey_response.py,sha256=ywKuklhxqfznu112t4HQinX74uqci1Oi-dWTiRjD2co,256
96
+ trueconf/types/responses/forward_message_response.py,sha256=7-zjnTVmGG8Mq4fQzD855J4LmbpEA8WS89LsFaF3BLw,315
97
+ trueconf/types/responses/get_chat_by_id_response.py,sha256=Lb-PwA0rmW-qtpqVMKKgV4vQftAYeecsjYep7gloeJM,502
98
+ trueconf/types/responses/get_chat_history_response.py,sha256=xbLRwvu1chn6VbCVD22AxgDZ0CY4aB2Fs2FXEfONMzA,423
99
+ trueconf/types/responses/get_chat_participants_response.py,sha256=xIiB40zMA-gccqY4zQa_g9N6NlryoAktaICZP8XtraY,392
100
+ trueconf/types/responses/get_chats_response.py,sha256=MVQK4GfajUH9VcJsoowmLJ9jiDA5zPBH0AxEfDL9I9g,392
101
+ trueconf/types/responses/get_file_info_response.py,sha256=dmi10bL0qQ_e1noJ_lD9hYIQroiS9VSrlj-XCciTnfU,803
102
+ trueconf/types/responses/get_message_by_id_response.py,sha256=bckZ7bwhPZZ05aJc3DtvkbLs541mQtVC7gR3-zePDBA,1209
103
+ trueconf/types/responses/get_user_display_name_response.py,sha256=ffyCWtpDWTOVCLFwdDw2aOcjKtUuYgvs8Pnawhn1LF0,249
104
+ trueconf/types/responses/has_chat_participant_response.py,sha256=gguDNCrxsiMB0xIJEaZpvcjKKIZ83XVniz4yHjHKB48,194
105
+ trueconf/types/responses/remove_chat_participant_response.py,sha256=Gq2Jr5uWuuhJDerY0cSYoGv5ubc5h3Myo8rdgZ-9yeY,189
106
+ trueconf/types/responses/remove_chat_response.py,sha256=EfqrtYNHCbejIk80wOD3ObdYLq94K1o_w5clI9enBsY,231
107
+ trueconf/types/responses/remove_message_response.py,sha256=E7Vi7leXmMFnXZz3GIU1JJNBG6iOfQ6dU_Zqk121zkA,181
108
+ trueconf/types/responses/send_file_response.py,sha256=WfhFmCYByEav_PT2hhvVyCIycBKKXFTNIcyRTIFVWs4,309
109
+ trueconf/types/responses/send_message_response.py,sha256=qFX1rQnQLN1V_XuF_JbJdoy2Jq0-rK4iDmED9YLWbgE,312
110
+ trueconf/types/responses/send_survey_response.py,sha256=46rJz4OC4InmWn-n9s5Q32R3Hej138O1X7aF9Y3UbvY,311
111
+ trueconf/types/responses/subscribe_file_progress_response.py,sha256=e51yJhwvl3rzArqOUUN153QCQUSym79QXHir04703p4,197
112
+ trueconf/types/responses/unsubscribe_file_progress_response.py,sha256=_5C-LmO7PzvAR7fcM6VMy3JU9Ao6InLFYSwC3zhZyq0,199
113
+ trueconf/types/responses/upload_file_response.py,sha256=CmhLmby4MVny8KmfQ1aHW6UDnpcsW_BqL9wgAitUyxM,244
114
+ trueconf/utils/__init__.py,sha256=6CrEznKfUTDKL0IH-CNJJOOW-Vx22aokR7tmHORyUUU,135
115
+ trueconf/utils/generate_secret_for_survey.py,sha256=_rJttL9lsY3zeVxAzV5iSnHLRFslIBvYzj_qn03xMh8,241
116
+ trueconf/utils/token.py,sha256=3XMaZ87Ok4s5csyU4rrB1RzySLrtvj2F6_Q4fzCK3f0,2296
117
+ python_trueconf_bot-1.0.0.dist-info/METADATA,sha256=oUXYdBUNwQbNe6n9TmQMMCaBzlAEIIH3P5EKHEoscoQ,4361
118
+ python_trueconf_bot-1.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
119
+ python_trueconf_bot-1.0.0.dist-info/top_level.txt,sha256=GjgYdn_osTUuU-H8f59VhIS7MY44xLV7-D7veywJaeY,9
120
+ python_trueconf_bot-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,32 @@
1
+ The Clear BSD License
2
+
3
+ Copyright (c) 2025 TrueConf LLC
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted (subject to the limitations in the disclaimer
8
+ below) provided that the following conditions are met:
9
+
10
+ * Redistributions of source code must retain the above copyright notice,
11
+ this list of conditions and the following disclaimer.
12
+
13
+ * Redistributions in binary form must reproduce the above copyright
14
+ notice, this list of conditions and the following disclaimer in the
15
+ documentation and/or other materials provided with the distribution.
16
+
17
+ * Neither the name of the copyright holder nor the names of its
18
+ contributors may be used to endorse or promote products derived from this
19
+ software without specific prior written permission.
20
+
21
+ NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
22
+ THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
23
+ CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
25
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
26
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
27
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
28
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
29
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
30
+ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
+ POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1 @@
1
+ trueconf
trueconf/__init__.py ADDED
@@ -0,0 +1,18 @@
1
+ from trueconf.client.bot import Bot
2
+ from trueconf.dispatcher.dispatcher import Dispatcher
3
+ from trueconf.dispatcher.router import Router
4
+ from magic_filter import F
5
+ from trueconf.types.message import Message
6
+ from trueconf.types import requests
7
+ from trueconf.enums import ParseMode
8
+
9
+
10
+ __all__ = (
11
+ "Bot",
12
+ "Dispatcher",
13
+ "Router",
14
+ "F",
15
+ "Message",
16
+ "requests",
17
+ "ParseMode",
18
+ )
trueconf/_version.py ADDED
@@ -0,0 +1,34 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
12
+
13
+ TYPE_CHECKING = False
14
+ if TYPE_CHECKING:
15
+ from typing import Tuple
16
+ from typing import Union
17
+
18
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
20
+ else:
21
+ VERSION_TUPLE = object
22
+ COMMIT_ID = object
23
+
24
+ version: str
25
+ __version__: str
26
+ __version_tuple__: VERSION_TUPLE
27
+ version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
30
+
31
+ __version__ = version = '1.0.0'
32
+ __version_tuple__ = version_tuple = (1, 0, 0)
33
+
34
+ __commit_id__ = commit_id = None
File without changes