whatsapp-chatbot-python 0.2.1__tar.gz → 0.2.3__tar.gz
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.
- {whatsapp-chatbot-python-0.2.1/whatsapp_chatbot_python.egg-info → whatsapp-chatbot-python-0.2.3}/PKG-INFO +8 -8
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/README.md +7 -7
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/setup.py +2 -2
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3/whatsapp_chatbot_python.egg-info}/PKG-INFO +8 -8
- whatsapp-chatbot-python-0.2.3/whatsapp_chatbot_python.egg-info/requires.txt +1 -0
- whatsapp-chatbot-python-0.2.1/whatsapp_chatbot_python.egg-info/requires.txt +0 -1
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/LICENSE +0 -0
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/setup.cfg +0 -0
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/tests/test_manager.py +0 -0
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/whatsapp_chatbot_python/__init__.py +0 -0
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/whatsapp_chatbot_python/bot.py +0 -0
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/whatsapp_chatbot_python/filters.py +0 -0
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/whatsapp_chatbot_python/manager/__init__.py +0 -0
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/whatsapp_chatbot_python/manager/handler.py +0 -0
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/whatsapp_chatbot_python/manager/observer.py +0 -0
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/whatsapp_chatbot_python/manager/router.py +0 -0
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/whatsapp_chatbot_python.egg-info/SOURCES.txt +0 -0
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/whatsapp_chatbot_python.egg-info/dependency_links.txt +0 -0
- {whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/whatsapp_chatbot_python.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: whatsapp-chatbot-python
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: This library helps you easily create a Python chatbot with WhatsApp API.
|
|
5
5
|
Home-page: https://github.com/green-api/whatsapp-chatbot-python
|
|
6
6
|
Author: GREEN API
|
|
@@ -29,7 +29,7 @@ License-File: LICENSE
|
|
|
29
29
|

|
|
30
30
|

|
|
31
31
|
|
|
32
|
-
- [Документация на русском языке](docs/README.md).
|
|
32
|
+
- [Документация на русском языке](https://github.com/green-api/whatsapp-chatbot-python/blob/master/docs/README.md).
|
|
33
33
|
|
|
34
34
|
whatsapp-chatbot-python is a library for integration with WhatsApp messenger using the API
|
|
35
35
|
service [green-api.com](https://green-api.com/en/). You should get a registration token and an account ID in
|
|
@@ -83,10 +83,10 @@ brackets.
|
|
|
83
83
|
|
|
84
84
|
To start the bot, call the `bot.run_forever` function. You can stop the bot with the key combination Ctrl + C.
|
|
85
85
|
|
|
86
|
-
Link to example: [base.py](examples/base.py).
|
|
86
|
+
Link to example: [base.py](https://github.com/green-api/whatsapp-chatbot-python/blob/master/examples/base.py).
|
|
87
87
|
|
|
88
88
|
```
|
|
89
|
-
@bot.router.message()
|
|
89
|
+
@bot.router.message(text_message="message")
|
|
90
90
|
def message_handler(notification: Notification) -> None:
|
|
91
91
|
notification.answer("Hello")
|
|
92
92
|
|
|
@@ -105,7 +105,7 @@ You can receive not only incoming messages but also outgoing messages. You can a
|
|
|
105
105
|
The body of the notification is in `notification.event`. In this example, we get the message type from the notification
|
|
106
106
|
body.
|
|
107
107
|
|
|
108
|
-
Link to example: [event.py](examples/event.py).
|
|
108
|
+
Link to example: [event.py](https://github.com/green-api/whatsapp-chatbot-python/blob/master/examples/event.py).
|
|
109
109
|
|
|
110
110
|
```
|
|
111
111
|
@bot.router.message()
|
|
@@ -186,7 +186,7 @@ command = ("help", "!/")
|
|
|
186
186
|
|
|
187
187
|
#### Example
|
|
188
188
|
|
|
189
|
-
Link to example: [filters.py](examples/filters.py).
|
|
189
|
+
Link to example: [filters.py](https://github.com/green-api/whatsapp-chatbot-python/blob/master/examples/filters.py).
|
|
190
190
|
|
|
191
191
|
```
|
|
192
192
|
@bot.router.message(command="help")
|
|
@@ -201,7 +201,7 @@ bot.run_forever()
|
|
|
201
201
|
|
|
202
202
|
To be notified when a button is pressed, you must use the `bot.router.buttons` object.
|
|
203
203
|
|
|
204
|
-
Link to example: [buttons.py](examples/buttons.py).
|
|
204
|
+
Link to example: [buttons.py](https://github.com/green-api/whatsapp-chatbot-python/blob/master/examples/buttons.py).
|
|
205
205
|
|
|
206
206
|
```
|
|
207
207
|
@bot.router.buttons()
|
|
@@ -234,4 +234,4 @@ bot.run_forever()
|
|
|
234
234
|
Licensed under [
|
|
235
235
|
Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0)
|
|
236
236
|
](https://creativecommons.org/licenses/by-nd/4.0/) terms.
|
|
237
|
-
Please see file [LICENSE](LICENSE).
|
|
237
|
+
Please see file [LICENSE](https://github.com/green-api/whatsapp-chatbot-python/blob/master/LICENSE).
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|

|
|
7
7
|

|
|
8
8
|
|
|
9
|
-
- [Документация на русском языке](docs/README.md).
|
|
9
|
+
- [Документация на русском языке](https://github.com/green-api/whatsapp-chatbot-python/blob/master/docs/README.md).
|
|
10
10
|
|
|
11
11
|
whatsapp-chatbot-python is a library for integration with WhatsApp messenger using the API
|
|
12
12
|
service [green-api.com](https://green-api.com/en/). You should get a registration token and an account ID in
|
|
@@ -60,10 +60,10 @@ brackets.
|
|
|
60
60
|
|
|
61
61
|
To start the bot, call the `bot.run_forever` function. You can stop the bot with the key combination Ctrl + C.
|
|
62
62
|
|
|
63
|
-
Link to example: [base.py](examples/base.py).
|
|
63
|
+
Link to example: [base.py](https://github.com/green-api/whatsapp-chatbot-python/blob/master/examples/base.py).
|
|
64
64
|
|
|
65
65
|
```
|
|
66
|
-
@bot.router.message()
|
|
66
|
+
@bot.router.message(text_message="message")
|
|
67
67
|
def message_handler(notification: Notification) -> None:
|
|
68
68
|
notification.answer("Hello")
|
|
69
69
|
|
|
@@ -82,7 +82,7 @@ You can receive not only incoming messages but also outgoing messages. You can a
|
|
|
82
82
|
The body of the notification is in `notification.event`. In this example, we get the message type from the notification
|
|
83
83
|
body.
|
|
84
84
|
|
|
85
|
-
Link to example: [event.py](examples/event.py).
|
|
85
|
+
Link to example: [event.py](https://github.com/green-api/whatsapp-chatbot-python/blob/master/examples/event.py).
|
|
86
86
|
|
|
87
87
|
```
|
|
88
88
|
@bot.router.message()
|
|
@@ -163,7 +163,7 @@ command = ("help", "!/")
|
|
|
163
163
|
|
|
164
164
|
#### Example
|
|
165
165
|
|
|
166
|
-
Link to example: [filters.py](examples/filters.py).
|
|
166
|
+
Link to example: [filters.py](https://github.com/green-api/whatsapp-chatbot-python/blob/master/examples/filters.py).
|
|
167
167
|
|
|
168
168
|
```
|
|
169
169
|
@bot.router.message(command="help")
|
|
@@ -178,7 +178,7 @@ bot.run_forever()
|
|
|
178
178
|
|
|
179
179
|
To be notified when a button is pressed, you must use the `bot.router.buttons` object.
|
|
180
180
|
|
|
181
|
-
Link to example: [buttons.py](examples/buttons.py).
|
|
181
|
+
Link to example: [buttons.py](https://github.com/green-api/whatsapp-chatbot-python/blob/master/examples/buttons.py).
|
|
182
182
|
|
|
183
183
|
```
|
|
184
184
|
@bot.router.buttons()
|
|
@@ -211,4 +211,4 @@ bot.run_forever()
|
|
|
211
211
|
Licensed under [
|
|
212
212
|
Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0)
|
|
213
213
|
](https://creativecommons.org/licenses/by-nd/4.0/) terms.
|
|
214
|
-
Please see file [LICENSE](LICENSE).
|
|
214
|
+
Please see file [LICENSE](https://github.com/green-api/whatsapp-chatbot-python/blob/master/LICENSE).
|
|
@@ -5,7 +5,7 @@ with open("README.md", encoding="UTF-8") as file:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="whatsapp-chatbot-python",
|
|
8
|
-
version="0.2.
|
|
8
|
+
version="0.2.3",
|
|
9
9
|
description=(
|
|
10
10
|
"This library helps you easily create"
|
|
11
11
|
" a Python chatbot with WhatsApp API."
|
|
@@ -33,6 +33,6 @@ setup(
|
|
|
33
33
|
"Creative Commons Attribution-NoDerivatives 4.0 International"
|
|
34
34
|
" (CC BY-ND 4.0)"
|
|
35
35
|
),
|
|
36
|
-
install_requires=["whatsapp-api-client-python==0.0.
|
|
36
|
+
install_requires=["whatsapp-api-client-python==0.0.37"],
|
|
37
37
|
python_requires=">=3.7"
|
|
38
38
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: whatsapp-chatbot-python
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: This library helps you easily create a Python chatbot with WhatsApp API.
|
|
5
5
|
Home-page: https://github.com/green-api/whatsapp-chatbot-python
|
|
6
6
|
Author: GREEN API
|
|
@@ -29,7 +29,7 @@ License-File: LICENSE
|
|
|
29
29
|

|
|
30
30
|

|
|
31
31
|
|
|
32
|
-
- [Документация на русском языке](docs/README.md).
|
|
32
|
+
- [Документация на русском языке](https://github.com/green-api/whatsapp-chatbot-python/blob/master/docs/README.md).
|
|
33
33
|
|
|
34
34
|
whatsapp-chatbot-python is a library for integration with WhatsApp messenger using the API
|
|
35
35
|
service [green-api.com](https://green-api.com/en/). You should get a registration token and an account ID in
|
|
@@ -83,10 +83,10 @@ brackets.
|
|
|
83
83
|
|
|
84
84
|
To start the bot, call the `bot.run_forever` function. You can stop the bot with the key combination Ctrl + C.
|
|
85
85
|
|
|
86
|
-
Link to example: [base.py](examples/base.py).
|
|
86
|
+
Link to example: [base.py](https://github.com/green-api/whatsapp-chatbot-python/blob/master/examples/base.py).
|
|
87
87
|
|
|
88
88
|
```
|
|
89
|
-
@bot.router.message()
|
|
89
|
+
@bot.router.message(text_message="message")
|
|
90
90
|
def message_handler(notification: Notification) -> None:
|
|
91
91
|
notification.answer("Hello")
|
|
92
92
|
|
|
@@ -105,7 +105,7 @@ You can receive not only incoming messages but also outgoing messages. You can a
|
|
|
105
105
|
The body of the notification is in `notification.event`. In this example, we get the message type from the notification
|
|
106
106
|
body.
|
|
107
107
|
|
|
108
|
-
Link to example: [event.py](examples/event.py).
|
|
108
|
+
Link to example: [event.py](https://github.com/green-api/whatsapp-chatbot-python/blob/master/examples/event.py).
|
|
109
109
|
|
|
110
110
|
```
|
|
111
111
|
@bot.router.message()
|
|
@@ -186,7 +186,7 @@ command = ("help", "!/")
|
|
|
186
186
|
|
|
187
187
|
#### Example
|
|
188
188
|
|
|
189
|
-
Link to example: [filters.py](examples/filters.py).
|
|
189
|
+
Link to example: [filters.py](https://github.com/green-api/whatsapp-chatbot-python/blob/master/examples/filters.py).
|
|
190
190
|
|
|
191
191
|
```
|
|
192
192
|
@bot.router.message(command="help")
|
|
@@ -201,7 +201,7 @@ bot.run_forever()
|
|
|
201
201
|
|
|
202
202
|
To be notified when a button is pressed, you must use the `bot.router.buttons` object.
|
|
203
203
|
|
|
204
|
-
Link to example: [buttons.py](examples/buttons.py).
|
|
204
|
+
Link to example: [buttons.py](https://github.com/green-api/whatsapp-chatbot-python/blob/master/examples/buttons.py).
|
|
205
205
|
|
|
206
206
|
```
|
|
207
207
|
@bot.router.buttons()
|
|
@@ -234,4 +234,4 @@ bot.run_forever()
|
|
|
234
234
|
Licensed under [
|
|
235
235
|
Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0)
|
|
236
236
|
](https://creativecommons.org/licenses/by-nd/4.0/) terms.
|
|
237
|
-
Please see file [LICENSE](LICENSE).
|
|
237
|
+
Please see file [LICENSE](https://github.com/green-api/whatsapp-chatbot-python/blob/master/LICENSE).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
whatsapp-api-client-python==0.0.37
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
whatsapp-api-client-python==0.0.36
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/whatsapp_chatbot_python/__init__.py
RENAMED
|
File without changes
|
{whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/whatsapp_chatbot_python/bot.py
RENAMED
|
File without changes
|
{whatsapp-chatbot-python-0.2.1 → whatsapp-chatbot-python-0.2.3}/whatsapp_chatbot_python/filters.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|