chatgraph 0.3.14__tar.gz → 0.3.15__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.

Potentially problematic release.


This version of chatgraph might be problematic. Click here for more details.

Files changed (23) hide show
  1. {chatgraph-0.3.14 → chatgraph-0.3.15}/PKG-INFO +1 -1
  2. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/types/request_types.py +4 -0
  3. {chatgraph-0.3.14 → chatgraph-0.3.15}/pyproject.toml +1 -1
  4. {chatgraph-0.3.14 → chatgraph-0.3.15}/LICENSE +0 -0
  5. {chatgraph-0.3.14 → chatgraph-0.3.15}/README.md +0 -0
  6. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/__init__.py +0 -0
  7. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/auth/credentials.py +0 -0
  8. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/bot/chatbot_model.py +0 -0
  9. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/bot/chatbot_router.py +0 -0
  10. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/cli/__init__.py +0 -0
  11. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/error/chatbot_error.py +0 -0
  12. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/error/route_error.py +0 -0
  13. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/gRPC/gRPCCall.py +0 -0
  14. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/messages/message_consumer.py +0 -0
  15. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/pb/userstate.proto +0 -0
  16. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/pb/userstate_pb2.py +0 -0
  17. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/pb/userstate_pb2_grpc.py +0 -0
  18. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/pb/voll.proto +0 -0
  19. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/pb/voll_pb2.py +0 -0
  20. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/pb/voll_pb2_grpc.py +0 -0
  21. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/types/end_types.py +0 -0
  22. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/types/message_types.py +0 -0
  23. {chatgraph-0.3.14 → chatgraph-0.3.15}/chatgraph/types/route.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: chatgraph
3
- Version: 0.3.14
3
+ Version: 0.3.15
4
4
  Summary: A user-friendly chatbot library
5
5
  Home-page: https://github.com/irissonnlima/chatgraph
6
6
  License: MIT
@@ -224,6 +224,10 @@ class UserCall:
224
224
  if len(element_list) > 20:
225
225
  raise ValueError("O número máximo de elementos é 20.")
226
226
 
227
+ if not text:
228
+ raise ValueError("O corpo da mensagem não pode ser vazio.")
229
+
230
+
227
231
  response = self.__wpp_server_client.send_list(
228
232
  {
229
233
  "hook_id": self.company_phone,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "chatgraph"
3
- version = "0.3.14"
3
+ version = "0.3.15"
4
4
  description = "A user-friendly chatbot library"
5
5
  authors = ["Irisson N. Lima <irisson.lima@verdecard.com.br>"]
6
6
  readme = "README.md"
File without changes
File without changes