chatgraph 0.5.3__py3-none-any.whl → 0.6.1__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.

Potentially problematic release.


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

chatgraph/__init__.py CHANGED
@@ -3,25 +3,34 @@ from .bot.chatbot_model import ChatbotApp
3
3
  from .bot.chatbot_router import ChatbotRouter
4
4
  from .messages.message_consumer import MessageConsumer
5
5
  from .types.request_types import UserCall, UserState, ChatID
6
- from .types.end_types import RedirectResponse, EndChatResponse, TransferToHuman
6
+ from .types.end_types import (
7
+ RedirectResponse,
8
+ EndChatResponse,
9
+ TransferToHuman,
10
+ TransferToMenu,
11
+ )
7
12
  from .types.message_types import Message, Button
8
13
  from .types.route import Route
9
14
  from .types.background_task import BackgroundTask
15
+ from .types.image import ImageData, ImageMessage
10
16
 
11
17
  __all__ = [
12
- 'ChatbotApp',
13
- 'Credential',
14
- 'UserCall',
15
- 'ChatbotRouter',
16
- 'ChatbotResponse',
17
- 'RedirectResponse',
18
- 'MessageConsumer',
19
- 'Route',
20
- 'EndChatResponse',
21
- 'TransferToHuman',
22
- 'ChatID',
23
- 'UserState',
24
- 'Message',
25
- 'Button',
26
- 'BackgroundTask',
18
+ "ChatbotApp",
19
+ "Credential",
20
+ "UserCall",
21
+ "ChatbotRouter",
22
+ "ChatbotResponse",
23
+ "RedirectResponse",
24
+ "MessageConsumer",
25
+ "Route",
26
+ "EndChatResponse",
27
+ "TransferToHuman",
28
+ "TransferToMenu",
29
+ "ChatID",
30
+ "UserState",
31
+ "Message",
32
+ "Button",
33
+ "BackgroundTask",
34
+ "ImageData",
35
+ "ImageMessage",
27
36
  ]
@@ -7,11 +7,17 @@ from ..error.chatbot_error import ChatbotMessageError
7
7
  from ..messages.message_consumer import MessageConsumer
8
8
  from ..types.request_types import UserCall
9
9
  from ..types.message_types import Message, Button
10
- from ..types.end_types import RedirectResponse, EndChatResponse, TransferToHuman
10
+ from ..types.end_types import (
11
+ RedirectResponse,
12
+ EndChatResponse,
13
+ TransferToHuman,
14
+ TransferToMenu,
15
+ )
11
16
  from ..types.route import Route
12
17
  from .chatbot_router import ChatbotRouter
13
18
  from ..types.background_task import BackgroundTask
14
19
 
20
+
15
21
  class ChatbotApp:
16
22
  """
17
23
  Classe principal para a aplicação do chatbot, gerencia as rotas e a lógica de processamento de mensagens.
@@ -172,17 +178,25 @@ class ChatbotApp:
172
178
  )
173
179
  return
174
180
 
181
+ elif isinstance(userCall_response, TransferToMenu):
182
+ await loop.run_in_executor(
183
+ None,
184
+ userCall.transfer_to_menu,
185
+ userCall_response.menu,
186
+ userCall_response.user_message,
187
+ )
188
+ return
189
+
175
190
  elif isinstance(userCall_response, RedirectResponse):
176
191
  route = route + "." + userCall_response.route
177
192
  userCall.route = route
178
193
  await self.process_message(userCall)
179
194
 
180
-
181
195
  elif not userCall_response:
182
196
  route = route + "." + route.split(".")[-1]
183
197
  userCall.route = route
184
198
  return
185
-
199
+
186
200
  elif isinstance(userCall_response, BackgroundTask):
187
201
  response = await userCall_response.run()
188
202
  await self.__process_func_response(response, userCall, route=route)
@@ -55,9 +55,9 @@ class RouterServiceClient:
55
55
 
56
56
  def send_message(self, message_data):
57
57
  # print(json.dumps(message_data))
58
-
58
+
59
59
  request = chatbot_pb2.Message(**message_data)
60
-
60
+
61
61
  try:
62
62
  response = self.send_message_stub.SendMessage(request)
63
63
  if not response.status:
@@ -67,6 +67,33 @@ class RouterServiceClient:
67
67
  print(f"Erro ao chamar SendMessage: {e}")
68
68
  return None
69
69
 
70
+ def send_image(self, message_data):
71
+ # print(json.dumps(message_data))
72
+
73
+ request = chatbot_pb2.FileMessage(**message_data)
74
+
75
+ try:
76
+ response = self.send_message_stub.SendImage(request)
77
+ if not response.status and response.message != "arquivo não encontrado":
78
+ print(f"Erro ao chamar SendImage: {response.message}")
79
+ elif response.message == "arquivo não encontrado":
80
+ print("Arquivo não encontrado, Carregando arquivo...")
81
+ return response
82
+ except grpc.RpcError as e:
83
+ print(f"Erro ao chamar SendImage: {e}")
84
+ return None
85
+
86
+ def upload_file(self, file_data):
87
+ request = chatbot_pb2.UploadFileRequest(**file_data)
88
+ try:
89
+ response = self.send_message_stub.UploadFile(request)
90
+ if not response.status:
91
+ print(f"Erro ao chamar UploadFile: {response.message}")
92
+ return response
93
+ except grpc.RpcError as e:
94
+ print(f"Erro ao chamar UploadFile: {e}")
95
+ return None
96
+
70
97
  def transfer_to_human(self, transfer_request_data):
71
98
  request = chatbot_pb2.TransferToHumanRequest(**transfer_request_data)
72
99
  try:
@@ -83,7 +110,7 @@ class RouterServiceClient:
83
110
  try:
84
111
  response = self.transfer_stub.TransferToMenu(request)
85
112
  if not response.status:
86
- print(f"Erro ao chamar SendMessage: {response.message}")
113
+ print(f"Erro ao chamar TransferToMenu: {response.message}")
87
114
  return response
88
115
  except grpc.RpcError as e:
89
116
  print(f"Erro ao chamar TransferToMenu: {e}")
chatgraph/pb/router.proto CHANGED
@@ -7,6 +7,7 @@ option go_package = "./chatbot";
7
7
  ///// Serviços de Estado do Usuário /////
8
8
  service UserStateService {
9
9
  rpc InsertUpdateUserState(UserState) returns (RequestStatus);
10
+ rpc SetRoute(RouteRequest) returns (RequestStatus);
10
11
  rpc DeleteUserState(ChatID) returns (RequestStatus);
11
12
  rpc GetUserState(ChatID) returns (UserState);
12
13
  rpc GetAllUserStates(Void) returns (UserStateList);
@@ -15,6 +16,9 @@ service UserStateService {
15
16
  ///// Serviços de Mensagens /////
16
17
  service SendMessage {
17
18
  rpc SendMessage(Message) returns (RequestStatus);
19
+ rpc SendImage(FileMessage) returns (RequestStatus);
20
+ rpc SendFile(FileMessage) returns (RequestStatus);
21
+ rpc UploadFile(UploadFileRequest) returns (RequestStatus);
18
22
  }
19
23
 
20
24
  ///// Serviços de Transfer /////
@@ -57,6 +61,10 @@ message UserStateList {
57
61
  repeated UserState user_states = 1;
58
62
  }
59
63
 
64
+ message RouteRequest {
65
+ ChatID chat_id = 1;
66
+ string route = 2;
67
+ }
60
68
  ///// Mensagens para Serviços de Mensagens /////
61
69
  message TextMessage {
62
70
  string type = 1;
@@ -80,16 +88,31 @@ message Message {
80
88
  Button display_button = 4;
81
89
  }
82
90
 
91
+ message FileMessage {
92
+ Message message = 1;
93
+ string file_id = 2;
94
+ }
95
+
96
+ message UploadFileRequest {
97
+ string file_url = 1;
98
+ string file_type = 2;
99
+ string file_extension = 3;
100
+ string expiration = 4;
101
+ bytes file_content = 5;
102
+ }
103
+
83
104
  ///// Mensagens para Serviços de Transfer /////
84
105
  message TransferToHumanRequest{
85
106
  ChatID chat_id = 1;
86
107
  string campaign_id = 2;
108
+ string observation = 3;
87
109
  }
88
110
 
89
111
  message TransferToMenuRequest{
90
112
  ChatID chat_id = 1;
91
113
  string menu = 2;
92
- string user_message = 3;
114
+ string route = 3;
115
+ string user_message = 4;
93
116
  }
94
117
 
95
118
  message TabulationName{
@@ -110,6 +133,7 @@ message TabulationsList{
110
133
  message EndChatRequest {
111
134
  ChatID chat_id = 1;
112
135
  string tabulation_id = 2;
136
+ string observation = 3;
113
137
  }
114
138
 
115
139
  message CampaignName {
@@ -2,76 +2,78 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: router.proto
5
- # Protobuf Python Version: 5.27.2
5
+ # Protobuf Python Version: 6.31.0
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
9
9
  from google.protobuf import runtime_version as _runtime_version
10
10
  from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
+
12
13
  _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 27,
16
- 2,
17
- '',
18
- 'router.proto'
14
+ _runtime_version.Domain.PUBLIC, 6, 31, 0, "", "router.proto"
19
15
  )
20
16
  # @@protoc_insertion_point(imports)
21
17
 
22
18
  _sym_db = _symbol_database.Default()
23
19
 
24
20
 
25
-
26
-
27
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0crouter.proto\x12\x07\x63hatbot\"\x06\n\x04Void\"0\n\rRequestStatus\x12\x0e\n\x06status\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t\"-\n\x06\x43hatID\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x12\n\ncompany_id\x18\x02 \x01(\t\"q\n\tUserState\x12 \n\x07\x63hat_id\x18\x01 \x01(\x0b\x32\x0f.chatbot.ChatID\x12\x0c\n\x04menu\x18\x02 \x01(\t\x12\r\n\x05route\x18\x03 \x01(\t\x12\x10\n\x08protocol\x18\x04 \x01(\t\x12\x13\n\x0bobservation\x18\x05 \x01(\t\"8\n\rUserStateList\x12\'\n\x0buser_states\x18\x01 \x03(\x0b\x32\x12.chatbot.UserState\"j\n\x0bTextMessage\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x10\n\x08\x66ilename\x18\x03 \x01(\t\x12\r\n\x05title\x18\x04 \x01(\t\x12\x0e\n\x06\x64\x65tail\x18\x05 \x01(\t\x12\x0f\n\x07\x63\x61ption\x18\x06 \x01(\t\"5\n\x06\x42utton\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0e\n\x06\x64\x65tail\x18\x03 \x01(\t\"\x9d\x01\n\x07Message\x12 \n\x07\x63hat_id\x18\x01 \x01(\x0b\x32\x0f.chatbot.ChatID\x12%\n\x07message\x18\x02 \x01(\x0b\x32\x14.chatbot.TextMessage\x12 \n\x07\x62uttons\x18\x03 \x03(\x0b\x32\x0f.chatbot.Button\x12\'\n\x0e\x64isplay_button\x18\x04 \x01(\x0b\x32\x0f.chatbot.Button\"O\n\x16TransferToHumanRequest\x12 \n\x07\x63hat_id\x18\x01 \x01(\x0b\x32\x0f.chatbot.ChatID\x12\x13\n\x0b\x63\x61mpaign_id\x18\x02 \x01(\t\"]\n\x15TransferToMenuRequest\x12 \n\x07\x63hat_id\x18\x01 \x01(\x0b\x32\x0f.chatbot.ChatID\x12\x0c\n\x04menu\x18\x02 \x01(\t\x12\x14\n\x0cuser_message\x18\x03 \x01(\t\"\x1e\n\x0eTabulationName\x12\x0c\n\x04name\x18\x01 \x01(\t\"B\n\x11TabulationDetails\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0blast_update\x18\x03 \x01(\t\"B\n\x0fTabulationsList\x12/\n\x0btabulations\x18\x01 \x03(\x0b\x32\x1a.chatbot.TabulationDetails\"I\n\x0e\x45ndChatRequest\x12 \n\x07\x63hat_id\x18\x01 \x01(\x0b\x32\x0f.chatbot.ChatID\x12\x15\n\rtabulation_id\x18\x02 \x01(\t\"\x1c\n\x0c\x43\x61mpaignName\x12\x0c\n\x04name\x18\x01 \x01(\t\"@\n\x0f\x43\x61mpaignDetails\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0blast_update\x18\x03 \x01(\t\"<\n\rCampaignsList\x12+\n\tcampaigns\x18\x01 \x03(\x0b\x32\x18.chatbot.CampaignDetails2\x83\x02\n\x10UserStateService\x12\x43\n\x15InsertUpdateUserState\x12\x12.chatbot.UserState\x1a\x16.chatbot.RequestStatus\x12:\n\x0f\x44\x65leteUserState\x12\x0f.chatbot.ChatID\x1a\x16.chatbot.RequestStatus\x12\x33\n\x0cGetUserState\x12\x0f.chatbot.ChatID\x1a\x12.chatbot.UserState\x12\x39\n\x10GetAllUserStates\x12\r.chatbot.Void\x1a\x16.chatbot.UserStateList2F\n\x0bSendMessage\x12\x37\n\x0bSendMessage\x12\x10.chatbot.Message\x1a\x16.chatbot.RequestStatus2\x9c\x02\n\x08Transfer\x12\x38\n\x0fGetAllCampaigns\x12\r.chatbot.Void\x1a\x16.chatbot.CampaignsList\x12@\n\rGetCampaignID\x12\x15.chatbot.CampaignName\x1a\x18.chatbot.CampaignDetails\x12J\n\x0fTransferToHuman\x12\x1f.chatbot.TransferToHumanRequest\x1a\x16.chatbot.RequestStatus\x12H\n\x0eTransferToMenu\x12\x1e.chatbot.TransferToMenuRequest\x1a\x16.chatbot.RequestStatus2\xcb\x01\n\x07\x45ndChat\x12<\n\x11GetAllTabulations\x12\r.chatbot.Void\x1a\x18.chatbot.TabulationsList\x12\x46\n\x0fGetTabulationID\x12\x17.chatbot.TabulationName\x1a\x1a.chatbot.TabulationDetails\x12:\n\x07\x45ndChat\x12\x17.chatbot.EndChatRequest\x1a\x16.chatbot.RequestStatusB\x0bZ\t./chatbotb\x06proto3')
21
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
22
+ b'\n\x0crouter.proto\x12\x07\x63hatbot"\x06\n\x04Void"0\n\rRequestStatus\x12\x0e\n\x06status\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t"-\n\x06\x43hatID\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x12\n\ncompany_id\x18\x02 \x01(\t"q\n\tUserState\x12 \n\x07\x63hat_id\x18\x01 \x01(\x0b\x32\x0f.chatbot.ChatID\x12\x0c\n\x04menu\x18\x02 \x01(\t\x12\r\n\x05route\x18\x03 \x01(\t\x12\x10\n\x08protocol\x18\x04 \x01(\t\x12\x13\n\x0bobservation\x18\x05 \x01(\t"8\n\rUserStateList\x12\'\n\x0buser_states\x18\x01 \x03(\x0b\x32\x12.chatbot.UserState"?\n\x0cRouteRequest\x12 \n\x07\x63hat_id\x18\x01 \x01(\x0b\x32\x0f.chatbot.ChatID\x12\r\n\x05route\x18\x02 \x01(\t"j\n\x0bTextMessage\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x10\n\x08\x66ilename\x18\x03 \x01(\t\x12\r\n\x05title\x18\x04 \x01(\t\x12\x0e\n\x06\x64\x65tail\x18\x05 \x01(\t\x12\x0f\n\x07\x63\x61ption\x18\x06 \x01(\t"5\n\x06\x42utton\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0e\n\x06\x64\x65tail\x18\x03 \x01(\t"\x9d\x01\n\x07Message\x12 \n\x07\x63hat_id\x18\x01 \x01(\x0b\x32\x0f.chatbot.ChatID\x12%\n\x07message\x18\x02 \x01(\x0b\x32\x14.chatbot.TextMessage\x12 \n\x07\x62uttons\x18\x03 \x03(\x0b\x32\x0f.chatbot.Button\x12\'\n\x0e\x64isplay_button\x18\x04 \x01(\x0b\x32\x0f.chatbot.Button"A\n\x0b\x46ileMessage\x12!\n\x07message\x18\x01 \x01(\x0b\x32\x10.chatbot.Message\x12\x0f\n\x07\x66ile_id\x18\x02 \x01(\t"z\n\x11UploadFileRequest\x12\x10\n\x08\x66ile_url\x18\x01 \x01(\t\x12\x11\n\tfile_type\x18\x02 \x01(\t\x12\x16\n\x0e\x66ile_extension\x18\x03 \x01(\t\x12\x12\n\nexpiration\x18\x04 \x01(\t\x12\x14\n\x0c\x66ile_content\x18\x05 \x01(\x0c"d\n\x16TransferToHumanRequest\x12 \n\x07\x63hat_id\x18\x01 \x01(\x0b\x32\x0f.chatbot.ChatID\x12\x13\n\x0b\x63\x61mpaign_id\x18\x02 \x01(\t\x12\x13\n\x0bobservation\x18\x03 \x01(\t"l\n\x15TransferToMenuRequest\x12 \n\x07\x63hat_id\x18\x01 \x01(\x0b\x32\x0f.chatbot.ChatID\x12\x0c\n\x04menu\x18\x02 \x01(\t\x12\r\n\x05route\x18\x03 \x01(\t\x12\x14\n\x0cuser_message\x18\x04 \x01(\t"\x1e\n\x0eTabulationName\x12\x0c\n\x04name\x18\x01 \x01(\t"B\n\x11TabulationDetails\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0blast_update\x18\x03 \x01(\t"B\n\x0fTabulationsList\x12/\n\x0btabulations\x18\x01 \x03(\x0b\x32\x1a.chatbot.TabulationDetails"^\n\x0e\x45ndChatRequest\x12 \n\x07\x63hat_id\x18\x01 \x01(\x0b\x32\x0f.chatbot.ChatID\x12\x15\n\rtabulation_id\x18\x02 \x01(\t\x12\x13\n\x0bobservation\x18\x03 \x01(\t"\x1c\n\x0c\x43\x61mpaignName\x12\x0c\n\x04name\x18\x01 \x01(\t"@\n\x0f\x43\x61mpaignDetails\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0blast_update\x18\x03 \x01(\t"<\n\rCampaignsList\x12+\n\tcampaigns\x18\x01 \x03(\x0b\x32\x18.chatbot.CampaignDetails2\xbe\x02\n\x10UserStateService\x12\x43\n\x15InsertUpdateUserState\x12\x12.chatbot.UserState\x1a\x16.chatbot.RequestStatus\x12\x39\n\x08SetRoute\x12\x15.chatbot.RouteRequest\x1a\x16.chatbot.RequestStatus\x12:\n\x0f\x44\x65leteUserState\x12\x0f.chatbot.ChatID\x1a\x16.chatbot.RequestStatus\x12\x33\n\x0cGetUserState\x12\x0f.chatbot.ChatID\x1a\x12.chatbot.UserState\x12\x39\n\x10GetAllUserStates\x12\r.chatbot.Void\x1a\x16.chatbot.UserStateList2\xfd\x01\n\x0bSendMessage\x12\x37\n\x0bSendMessage\x12\x10.chatbot.Message\x1a\x16.chatbot.RequestStatus\x12\x39\n\tSendImage\x12\x14.chatbot.FileMessage\x1a\x16.chatbot.RequestStatus\x12\x38\n\x08SendFile\x12\x14.chatbot.FileMessage\x1a\x16.chatbot.RequestStatus\x12@\n\nUploadFile\x12\x1a.chatbot.UploadFileRequest\x1a\x16.chatbot.RequestStatus2\x9c\x02\n\x08Transfer\x12\x38\n\x0fGetAllCampaigns\x12\r.chatbot.Void\x1a\x16.chatbot.CampaignsList\x12@\n\rGetCampaignID\x12\x15.chatbot.CampaignName\x1a\x18.chatbot.CampaignDetails\x12J\n\x0fTransferToHuman\x12\x1f.chatbot.TransferToHumanRequest\x1a\x16.chatbot.RequestStatus\x12H\n\x0eTransferToMenu\x12\x1e.chatbot.TransferToMenuRequest\x1a\x16.chatbot.RequestStatus2\xcb\x01\n\x07\x45ndChat\x12<\n\x11GetAllTabulations\x12\r.chatbot.Void\x1a\x18.chatbot.TabulationsList\x12\x46\n\x0fGetTabulationID\x12\x17.chatbot.TabulationName\x1a\x1a.chatbot.TabulationDetails\x12:\n\x07\x45ndChat\x12\x17.chatbot.EndChatRequest\x1a\x16.chatbot.RequestStatusB\x0bZ\t./chatbotb\x06proto3'
23
+ )
28
24
 
29
25
  _globals = globals()
30
26
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'router_pb2', _globals)
27
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "router_pb2", _globals)
32
28
  if not _descriptor._USE_C_DESCRIPTORS:
33
- _globals['DESCRIPTOR']._loaded_options = None
34
- _globals['DESCRIPTOR']._serialized_options = b'Z\t./chatbot'
35
- _globals['_VOID']._serialized_start=25
36
- _globals['_VOID']._serialized_end=31
37
- _globals['_REQUESTSTATUS']._serialized_start=33
38
- _globals['_REQUESTSTATUS']._serialized_end=81
39
- _globals['_CHATID']._serialized_start=83
40
- _globals['_CHATID']._serialized_end=128
41
- _globals['_USERSTATE']._serialized_start=130
42
- _globals['_USERSTATE']._serialized_end=243
43
- _globals['_USERSTATELIST']._serialized_start=245
44
- _globals['_USERSTATELIST']._serialized_end=301
45
- _globals['_TEXTMESSAGE']._serialized_start=303
46
- _globals['_TEXTMESSAGE']._serialized_end=409
47
- _globals['_BUTTON']._serialized_start=411
48
- _globals['_BUTTON']._serialized_end=464
49
- _globals['_MESSAGE']._serialized_start=467
50
- _globals['_MESSAGE']._serialized_end=624
51
- _globals['_TRANSFERTOHUMANREQUEST']._serialized_start=626
52
- _globals['_TRANSFERTOHUMANREQUEST']._serialized_end=705
53
- _globals['_TRANSFERTOMENUREQUEST']._serialized_start=707
54
- _globals['_TRANSFERTOMENUREQUEST']._serialized_end=800
55
- _globals['_TABULATIONNAME']._serialized_start=802
56
- _globals['_TABULATIONNAME']._serialized_end=832
57
- _globals['_TABULATIONDETAILS']._serialized_start=834
58
- _globals['_TABULATIONDETAILS']._serialized_end=900
59
- _globals['_TABULATIONSLIST']._serialized_start=902
60
- _globals['_TABULATIONSLIST']._serialized_end=968
61
- _globals['_ENDCHATREQUEST']._serialized_start=970
62
- _globals['_ENDCHATREQUEST']._serialized_end=1043
63
- _globals['_CAMPAIGNNAME']._serialized_start=1045
64
- _globals['_CAMPAIGNNAME']._serialized_end=1073
65
- _globals['_CAMPAIGNDETAILS']._serialized_start=1075
66
- _globals['_CAMPAIGNDETAILS']._serialized_end=1139
67
- _globals['_CAMPAIGNSLIST']._serialized_start=1141
68
- _globals['_CAMPAIGNSLIST']._serialized_end=1201
69
- _globals['_USERSTATESERVICE']._serialized_start=1204
70
- _globals['_USERSTATESERVICE']._serialized_end=1463
71
- _globals['_SENDMESSAGE']._serialized_start=1465
72
- _globals['_SENDMESSAGE']._serialized_end=1535
73
- _globals['_TRANSFER']._serialized_start=1538
74
- _globals['_TRANSFER']._serialized_end=1822
75
- _globals['_ENDCHAT']._serialized_start=1825
76
- _globals['_ENDCHAT']._serialized_end=2028
29
+ _globals["DESCRIPTOR"]._loaded_options = None
30
+ _globals["DESCRIPTOR"]._serialized_options = b"Z\t./chatbot"
31
+ _globals["_VOID"]._serialized_start = 25
32
+ _globals["_VOID"]._serialized_end = 31
33
+ _globals["_REQUESTSTATUS"]._serialized_start = 33
34
+ _globals["_REQUESTSTATUS"]._serialized_end = 81
35
+ _globals["_CHATID"]._serialized_start = 83
36
+ _globals["_CHATID"]._serialized_end = 128
37
+ _globals["_USERSTATE"]._serialized_start = 130
38
+ _globals["_USERSTATE"]._serialized_end = 243
39
+ _globals["_USERSTATELIST"]._serialized_start = 245
40
+ _globals["_USERSTATELIST"]._serialized_end = 301
41
+ _globals["_ROUTEREQUEST"]._serialized_start = 303
42
+ _globals["_ROUTEREQUEST"]._serialized_end = 366
43
+ _globals["_TEXTMESSAGE"]._serialized_start = 368
44
+ _globals["_TEXTMESSAGE"]._serialized_end = 474
45
+ _globals["_BUTTON"]._serialized_start = 476
46
+ _globals["_BUTTON"]._serialized_end = 529
47
+ _globals["_MESSAGE"]._serialized_start = 532
48
+ _globals["_MESSAGE"]._serialized_end = 689
49
+ _globals["_FILEMESSAGE"]._serialized_start = 691
50
+ _globals["_FILEMESSAGE"]._serialized_end = 756
51
+ _globals["_UPLOADFILEREQUEST"]._serialized_start = 758
52
+ _globals["_UPLOADFILEREQUEST"]._serialized_end = 880
53
+ _globals["_TRANSFERTOHUMANREQUEST"]._serialized_start = 882
54
+ _globals["_TRANSFERTOHUMANREQUEST"]._serialized_end = 982
55
+ _globals["_TRANSFERTOMENUREQUEST"]._serialized_start = 984
56
+ _globals["_TRANSFERTOMENUREQUEST"]._serialized_end = 1092
57
+ _globals["_TABULATIONNAME"]._serialized_start = 1094
58
+ _globals["_TABULATIONNAME"]._serialized_end = 1124
59
+ _globals["_TABULATIONDETAILS"]._serialized_start = 1126
60
+ _globals["_TABULATIONDETAILS"]._serialized_end = 1192
61
+ _globals["_TABULATIONSLIST"]._serialized_start = 1194
62
+ _globals["_TABULATIONSLIST"]._serialized_end = 1260
63
+ _globals["_ENDCHATREQUEST"]._serialized_start = 1262
64
+ _globals["_ENDCHATREQUEST"]._serialized_end = 1356
65
+ _globals["_CAMPAIGNNAME"]._serialized_start = 1358
66
+ _globals["_CAMPAIGNNAME"]._serialized_end = 1386
67
+ _globals["_CAMPAIGNDETAILS"]._serialized_start = 1388
68
+ _globals["_CAMPAIGNDETAILS"]._serialized_end = 1452
69
+ _globals["_CAMPAIGNSLIST"]._serialized_start = 1454
70
+ _globals["_CAMPAIGNSLIST"]._serialized_end = 1514
71
+ _globals["_USERSTATESERVICE"]._serialized_start = 1517
72
+ _globals["_USERSTATESERVICE"]._serialized_end = 1835
73
+ _globals["_SENDMESSAGE"]._serialized_start = 1838
74
+ _globals["_SENDMESSAGE"]._serialized_end = 2091
75
+ _globals["_TRANSFER"]._serialized_start = 2094
76
+ _globals["_TRANSFER"]._serialized_end = 2378
77
+ _globals["_ENDCHAT"]._serialized_start = 2381
78
+ _globals["_ENDCHAT"]._serialized_end = 2584
77
79
  # @@protoc_insertion_point(module_scope)