This repository was archived by the owner on Dec 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
en-EN/ChatApi.Instances/Operations
ru-RU/ChatApi.Instances/Operations Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ namespace ChatApiClient
55
55
Type = ChatApiInstanceType .WhatsAppDev
56
56
};
57
57
58
- IChatApiResponse < IChatApiCreateInstanceResponse ? > chatApiInstance = instanceOperations .CreateChatApiInstance (request );
58
+ IChatApiResponse < IChatApiCreateInstanceResponse ? > chatApiResponse = instanceOperations .CreateChatApiInstance (request );
59
59
if (! chatApiResponse .IsSuccess ) throw chatApiResponse .Exception ! ;
60
60
61
61
var response = chatApiResponse .GetResult ();
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ namespace ChatApiClient
42
42
IChatApiInstanceConnect connect = new ChatApiInstanceConnect (" ApiKey" );
43
43
IChatApiInstanceOperations instanceOperations = new ChatApiInstanceOperations (connect );
44
44
45
- IChatApiResponse < IChatApiInstanceCollectionResponse ? > chatApiInstance = instanceOperations .GetChatApiInstances ();
45
+ IChatApiResponse < IChatApiInstanceCollectionResponse ? > chatApiResponse = instanceOperations .GetChatApiInstances ();
46
46
if (! chatApiResponse .IsSuccess ) throw chatApiResponse .Exception ! ;
47
47
48
48
var response = chatApiResponse .GetResult ();
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ namespace ChatApiClient
39
39
ChatApiRemoveInstanceRequest request = (ChatApiInstanceConnect )connect ;
40
40
request .Instance = " 231564" ;
41
41
42
- var removeChatApiInstance = instanceOperations .RemoveChatApiInstance (request );
42
+ var chatApiResponse = instanceOperations .RemoveChatApiInstance (request );
43
43
if (! chatApiResponse .IsSuccess ) throw chatApiResponse .Exception ! ;
44
44
45
45
var response = chatApiResponse .GetResult ();
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ namespace ChatApiClient
56
56
Type = ChatApiInstanceType .WhatsAppDev
57
57
};
58
58
59
- IChatApiResponse < IChatApiCreateInstanceResponse ? > chatApiInstance = instanceOperations .CreateChatApiInstance (request );
59
+ IChatApiResponse < IChatApiCreateInstanceResponse ? > chatApiResponse = instanceOperations .CreateChatApiInstance (request );
60
60
if (! chatApiResponse .IsSuccess ) throw chatApiResponse .Exception ! ;
61
61
62
62
var response = chatApiResponse .GetResult ();
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ namespace ChatApiClient
43
43
IChatApiInstanceConnect connect = new ChatApiInstanceConnect (" ApiKey" );
44
44
IChatApiInstanceOperations instanceOperations = new ChatApiInstanceOperations (connect );
45
45
46
- IChatApiResponse < IChatApiInstanceCollectionResponse ? > chatApiInstance = instanceOperations .GetChatApiInstances ();
46
+ IChatApiResponse < IChatApiInstanceCollectionResponse ? > chatApiResponse = instanceOperations .GetChatApiInstances ();
47
47
if (! chatApiResponse .IsSuccess ) throw chatApiResponse .Exception ! ;
48
48
49
49
var response = chatApiResponse .GetResult ();
You can’t perform that action at this time.
0 commit comments